Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.exolab.castor.jdo.engine.SQLEngine.SQLQuery
(package private) static final class SQLEngine.SQLQuery
extends java.lang.Object
implements PersistenceQuery
Method Summary | |
boolean |
|
void |
|
void |
|
void |
|
Object |
|
int | |
Class |
|
Class | |
Object |
|
void |
|
int |
|
public boolean absolute(int row) throws PersistenceException
use the jdbc 2.0 method to move to an absolute position in the resultset.
- Specified by:
- absolute in interface PersistenceQuery
public void execute(Object conn, AccessMode accessMode) throws QueryException, PersistenceException
- Specified by:
- execute in interface PersistenceQuery
public void execute(Object conn, AccessMode accessMode, boolean scrollable) throws QueryException, PersistenceException
- Specified by:
- execute in interface PersistenceQuery
public Object fetch(Object[] fields, Object identity) throws ObjectNotFoundException, PersistenceException
- Specified by:
- fetch in interface PersistenceQuery
public int getParameterCount()
- Specified by:
- getParameterCount in interface PersistenceQuery
public Class getParameterType(int index) throws ArrayIndexOutOfBoundsException
- Specified by:
- getParameterType in interface PersistenceQuery
public Object nextIdentity(Object identity) throws PersistenceException
- Specified by:
- nextIdentity in interface PersistenceQuery
public void setParameter(int index, Object value) throws ArrayIndexOutOfBoundsException, IllegalArgumentException
- Specified by:
- setParameter in interface PersistenceQuery
public int size() throws PersistenceException
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.
- Specified by:
- size in interface PersistenceQuery