org.exolab.castor.jdo.engine
static final class SQLEngine.SQLQuery extends Object implements PersistenceQuery
Constructor Summary | |
---|---|
SQLQuery(SQLEngine engine, String sql, Class[] types) |
Method Summary | |
---|---|
boolean | absolute(int row)
use the jdbc 2.0 method to move to an absolute position in the
resultset. |
void | close() |
void | execute(Object conn, AccessMode accessMode) |
void | execute(Object conn, AccessMode accessMode, boolean scrollable) |
Object | fetch(Object[] fields, Object identity) |
int | getParameterCount() |
Class | getParameterType(int index) |
Class | getResultType() |
Object | nextIdentity(Object identity) |
void | setParameter(int index, Object value) |
int | size()
Uses the underlying db's cursors to most to the last row in the
result set, get the row number via getRow(), then move back to
where ever the user was positioned in the resultset. |