/** * Called when the result set is closed. * * @param command the command * @param closeCommand whether to close the command */ void onLazyResultSetClose(CommandInterface command, boolean closeCommand) { setExecutingStatement(null); command.stop(); if (closeCommand) { command.close(); } }