ResultInterface result;
boolean scrollable = resultSetType != ResultSet.TYPE_FORWARD_ONLY;
boolean updatable = resultSetConcurrency == ResultSet.CONCUR_UPDATABLE;
setExecutingStatement(command);
try {
result = command.executeQuery(maxRows, scrollable);
} finally {
setExecutingStatement(null);
}
//command.close(); //关闭结果集时再关闭
resultSet = new JdbcResultSet(conn, this, result, id, closedByResultSet, scrollable, updatable);