|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.dialect.Dialect
org.hibernate.dialect.Oracle9Dialect
org.hibernate.dialect.DataDirectOracle9Dialect
public class DataDirectOracle9Dialect
Field Summary |
---|
Fields inherited from class org.hibernate.dialect.Dialect |
---|
CLOSED_QUOTE, DEFAULT_BATCH_SIZE, NO_BATCH, QUOTE |
Constructor Summary | |
---|---|
DataDirectOracle9Dialect()
|
Method Summary | |
---|---|
java.sql.ResultSet |
getResultSet(java.sql.CallableStatement ps)
Given a callable statement previously processed by Dialect.registerResultSetOutParameter(java.sql.CallableStatement, int) ,
extract the ResultSet from the OUT parameter. |
int |
registerResultSetOutParameter(java.sql.CallableStatement statement,
int col)
Registers an OUT parameter which will be returing a ResultSet . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DataDirectOracle9Dialect()
Method Detail |
---|
public int registerResultSetOutParameter(java.sql.CallableStatement statement, int col) throws java.sql.SQLException
Dialect
ResultSet
. How this is accomplished varies greatly
from DB to DB, hence its inclusion (along with Dialect.getResultSet(java.sql.CallableStatement)
) here.
registerResultSetOutParameter
in class Oracle9Dialect
statement
- The callable statement.col
- The bind position at which to register the OUT param.
java.sql.SQLException
- Indicates problems registering the OUT param.public java.sql.ResultSet getResultSet(java.sql.CallableStatement ps) throws java.sql.SQLException
Dialect
Dialect.registerResultSetOutParameter(java.sql.CallableStatement, int)
,
extract the ResultSet
from the OUT parameter.
getResultSet
in class Oracle9Dialect
ps
- The callable statement.
java.sql.SQLException
- Indicates problems extracting the result set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |