}
protected ResultSet executeQuery(final HBqlStatement stmt) throws SQLException {
if (!Utils.isSelectStatement(stmt))
throw new HBqlException("executeQuery() requires a SELECT statement");
final Query<HRecord> query = Query.newQuery(this.getHConnectionImpl(), (SelectStatement)stmt, HRecord.class);
final HResultSet<HRecord> hResultSet = query.newResultSet(false);
final ResultSet resultSet = new ResultSetImpl(this, query, hResultSet);
this.setResultSet(resultSet);