Class MultiRSCallQuery
- java.lang.Object
-
- org.exolab.castor.persist.spi.AbstractCallQuery
-
- org.castor.cpa.persistence.sql.driver.MultiRSCallQuery
-
- All Implemented Interfaces:
PersistenceQuery
final class MultiRSCallQuery extends AbstractCallQuery
PersistenceQuery implementation for CallableStatements that yield multiple ResultSets, like Sybase stored procedures.- 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
Constructors Constructor Description MultiRSCallQuery(java.lang.String call, java.lang.Class<?>[] types, java.lang.Class<?> javaClass, java.lang.String[] fields, int[] sqlTypes)Creates an instance of this clas.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidexecute(java.lang.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 Detail
-
MultiRSCallQuery
MultiRSCallQuery(java.lang.String call, java.lang.Class<?>[] types, java.lang.Class<?> javaClass, java.lang.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 Detail
-
execute
protected void execute(java.lang.Object conn, AccessMode accessMode) throws PersistenceException- Specified by:
executein classAbstractCallQuery- Throws:
PersistenceException
-
nextRow
protected boolean nextRow() throws java.sql.SQLException- Specified by:
nextRowin classAbstractCallQuery- Throws:
java.sql.SQLException
-
-