类 StandardRefCursorSupport
- java.lang.Object
-
- org.hibernate.engine.jdbc.cursor.internal.StandardRefCursorSupport
-
- 所有已实现的接口:
Serializable,RefCursorSupport,Service
public class StandardRefCursorSupport extends Object implements RefCursorSupport
Standard implementation of RefCursorSupport- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 StandardRefCursorSupport()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 ResultSetgetResultSet(CallableStatement statement, int position)Given a callable statement previously processed byRefCursorSupport.registerRefCursorParameter(java.sql.CallableStatement, int), extract theResultSet.ResultSetgetResultSet(CallableStatement statement, String name)Given a callable statement previously processed byRefCursorSupport.registerRefCursorParameter(java.sql.CallableStatement, String), extract theResultSet.voidinjectJdbcServices(JdbcServices jdbcServices)Hook for service registry to be able to inject JdbcServicesvoidregisterRefCursorParameter(CallableStatement statement, int position)Register a parameter capable of returning aResultSet*by position*.voidregisterRefCursorParameter(CallableStatement statement, String name)Register a parameter capable of returning aResultSet*by name*.static booleansupportsRefCursors(DatabaseMetaData meta)Does this JDBC metadata indicate that the driver defines REF_CURSOR support?
-
-
-
方法详细资料
-
injectJdbcServices
public void injectJdbcServices(JdbcServices jdbcServices)
Hook for service registry to be able to inject JdbcServices- 参数:
jdbcServices- The JdbcServices service
-
registerRefCursorParameter
public void registerRefCursorParameter(CallableStatement statement, int position)
从接口复制的说明:RefCursorSupportRegister a parameter capable of returning aResultSet*by position*.- 指定者:
registerRefCursorParameter在接口中RefCursorSupport- 参数:
statement- The callable statement.position- The bind position at which to register the output param.
-
registerRefCursorParameter
public void registerRefCursorParameter(CallableStatement statement, String name)
从接口复制的说明:RefCursorSupportRegister a parameter capable of returning aResultSet*by name*.- 指定者:
registerRefCursorParameter在接口中RefCursorSupport- 参数:
statement- The callable statement.name- The parameter name (for drivers which support named parameters).
-
getResultSet
public ResultSet getResultSet(CallableStatement statement, int position)
从接口复制的说明:RefCursorSupportGiven a callable statement previously processed byRefCursorSupport.registerRefCursorParameter(java.sql.CallableStatement, int), extract theResultSet.- 指定者:
getResultSet在接口中RefCursorSupport- 参数:
statement- The callable statement.position- The bind position at which to register the output param.- 返回:
- The extracted result set.
-
getResultSet
public ResultSet getResultSet(CallableStatement statement, String name)
从接口复制的说明:RefCursorSupportGiven a callable statement previously processed byRefCursorSupport.registerRefCursorParameter(java.sql.CallableStatement, String), extract theResultSet.- 指定者:
getResultSet在接口中RefCursorSupport- 参数:
statement- The callable statement.name- The parameter name (for drivers which support named parameters).- 返回:
- The extracted result set.
-
supportsRefCursors
public static boolean supportsRefCursors(DatabaseMetaData meta)
Does this JDBC metadata indicate that the driver defines REF_CURSOR support?- 参数:
meta- The JDBC metadata- 返回:
trueif the metadata indicates that the driver defines REF_CURSOR support
-
-