public interface RefCursorSupport extends Service
Modifier and Type | Method and Description |
---|---|
ResultSet |
getResultSet(CallableStatement statement,
int position)
Given a callable statement previously processed by
registerRefCursorParameter(java.sql.CallableStatement, int) ,
extract the ResultSet . |
ResultSet |
getResultSet(CallableStatement statement,
String name)
Given a callable statement previously processed by
registerRefCursorParameter(java.sql.CallableStatement, String) ,
extract the ResultSet . |
void |
registerRefCursorParameter(CallableStatement statement,
int position)
Register a parameter capable of returning a
ResultSet *by position*. |
void |
registerRefCursorParameter(CallableStatement statement,
String name)
Register a parameter capable of returning a
ResultSet *by name*. |
void registerRefCursorParameter(CallableStatement statement, int position)
ResultSet
*by position*.statement
- The callable statement.position
- The bind position at which to register the output param.void registerRefCursorParameter(CallableStatement statement, String name)
ResultSet
*by name*.statement
- The callable statement.name
- The parameter name (for drivers which support named parameters).ResultSet getResultSet(CallableStatement statement, int position)
registerRefCursorParameter(java.sql.CallableStatement, int)
,
extract the ResultSet
.statement
- The callable statement.position
- The bind position at which to register the output param.ResultSet getResultSet(CallableStatement statement, String name)
registerRefCursorParameter(java.sql.CallableStatement, String)
,
extract the ResultSet
.statement
- The callable statement.name
- The parameter name (for drivers which support named parameters).Copyright © 2017 JBoss by Red Hat. All rights reserved.