Methods Summary |
---|
public java.sql.ResultSet | executeQuery(java.lang.String sql)Executes the given SQL statement, which returns a single
ResultSet object.
ResultSet rs = jdbcStatement.executeQuery(sql);
if (rs == null)
return null;
return new ResultSetWrapper30(this, rs);
|
public java.sql.ResultSet | getGeneratedKeys()Retrieves any auto-generated keys created as a result of executing this
Statement object. If this Statement object did
not generate any keys, an empty ResultSet
object is returned.
ResultSet rs = jdbcStatement.getGeneratedKeys();
if (rs == null)
return null;
return new ResultSetWrapper30(this, rs);
|
public java.sql.ResultSet | getResultSet()Retrieves the current result as a ResultSet object.
This method should be called only once per result.
ResultSet rs = jdbcStatement.getResultSet();
if (rs == null)
return null;
return new ResultSetWrapper30(this, rs);
|