Class ReturnedRSCallQuery
java.lang.Object
org.exolab.castor.persist.spi.AbstractCallQuery
org.castor.cpa.persistence.sql.driver.ReturnedRSCallQuery
- All Implemented Interfaces:
PersistenceQuery
PersistenceQuery implementation for use with CallableStatements that
return a ResultSet, like Oracle stored functions returning REF CURSOR.
- Version:
- $Revision: 8104 $ $Date: 2006-04-11 15:26:07 -0600 (Tue, 11 Apr 2006) $
- Author:
- Oleg Nitz
-
Field Summary
Fields inherited from class org.exolab.castor.persist.spi.AbstractCallQuery
_call, _lastIdentity, _rs, _stmt, _values -
Constructor Summary
ConstructorsConstructorDescriptionReturnedRSCallQuery(String call, Class<?>[] types, Class<?> javaClass, String[] fields, int[] sqlTypes) Creates an instance of this clas. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(Object conn, AccessMode accessMode) protected booleannextRow()Methods inherited from class org.exolab.castor.persist.spi.AbstractCallQuery
absolute, close, execute, fetch, getParameterCount, getParameterType, getResultType, nextIdentity, setParameter, size
-
Constructor Details
-
ReturnedRSCallQuery
ReturnedRSCallQuery(String call, Class<?>[] types, Class<?> javaClass, String[] fields, int[] sqlTypes) Creates an instance of this clas.- Parameters:
call- The SQL CALL statement to executetypes- Java types of the parametersjavaClass- Class type of the resultfields- ???sqlTypes- SQL types of the parameters
-
-
Method Details
-
execute
- Specified by:
executein classAbstractCallQuery- Throws:
PersistenceException
-
nextRow
- Specified by:
nextRowin classAbstractCallQuery- Throws:
SQLException
-