Top Fields Constructors Methods
org.hibernate.engine.jdbc.cursor.internal

public Class FallbackRefCursorSupport

extends Object
implements RefCursorSupport
Class Inheritance
All Implemented Interfaces
org.hibernate.engine.jdbc.cursor.spi.RefCursorSupport, org.hibernate.service.Service, java.io.Serializable
Imports
java.sql.CallableStatement, .ResultSet, .SQLException, org.hibernate.engine.jdbc.cursor.spi.RefCursorSupport, org.hibernate.engine.jdbc.spi.JdbcServices

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final JdbcServices

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ResultSet
getResultSet(CallableStatement
The callable statement.
statement
,
int
The bind position at which to register the output param.
position
)

Implements org.hibernate.engine.jdbc.cursor.spi.RefCursorSupport.getResultSet.

Given a callable statement previously processed by registerRefCursorParameter(CallableStatement, int), extract the ResultSet.
public ResultSet
getResultSet(CallableStatement
The callable statement.
statement
,
String
The parameter name (for drivers which support named parameters).
name
)

Implements org.hibernate.engine.jdbc.cursor.spi.RefCursorSupport.getResultSet.

Given a callable statement previously processed by registerRefCursorParameter(CallableStatement, String), extract the ResultSet.
public void
registerRefCursorParameter(CallableStatement
The callable statement.
statement
,
int
The bind position at which to register the output param.
position
)

Implements org.hibernate.engine.jdbc.cursor.spi.RefCursorSupport.registerRefCursorParameter.

Register a parameter capable of returning a ResultSet *by position*.
public void
registerRefCursorParameter(CallableStatement
The callable statement.
statement
,
String
The parameter name (for drivers which support named parameters).
name
)

Implements org.hibernate.engine.jdbc.cursor.spi.RefCursorSupport.registerRefCursorParameter.

Register a parameter capable of returning a ResultSet *by name*.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

jdbcServicesback to summary
private final JdbcServices jdbcServices

Constructor Detail

FallbackRefCursorSupportback to summary
public FallbackRefCursorSupport(JdbcServices jdbcServices)

Method Detail

getResultSetback to summary
public ResultSet getResultSet(CallableStatement statement, int position)

Implements org.hibernate.engine.jdbc.cursor.spi.RefCursorSupport.getResultSet.

Doc from org.hibernate.engine.jdbc.cursor.spi.RefCursorSupport.getResultSet.

Given a callable statement previously processed by registerRefCursorParameter(CallableStatement, int), extract the ResultSet.

Parameters
statement:CallableStatement

The callable statement.

position:int

The bind position at which to register the output param.

Returns:ResultSet

The extracted result set.

Annotations
@Override
getResultSetback to summary
public ResultSet getResultSet(CallableStatement statement, String name)

Implements org.hibernate.engine.jdbc.cursor.spi.RefCursorSupport.getResultSet.

Doc from org.hibernate.engine.jdbc.cursor.spi.RefCursorSupport.getResultSet.

Given a callable statement previously processed by registerRefCursorParameter(CallableStatement, String), extract the ResultSet.

Parameters
statement:CallableStatement

The callable statement.

name:String

The parameter name (for drivers which support named parameters).

Returns:ResultSet

The extracted result set.

Annotations
@Override
registerRefCursorParameterback to summary
public void registerRefCursorParameter(CallableStatement statement, int position)

Implements org.hibernate.engine.jdbc.cursor.spi.RefCursorSupport.registerRefCursorParameter.

Doc from org.hibernate.engine.jdbc.cursor.spi.RefCursorSupport.registerRefCursorParameter.

Register a parameter capable of returning a ResultSet *by position*.

Parameters
statement:CallableStatement

The callable statement.

position:int

The bind position at which to register the output param.

Annotations
@Override
registerRefCursorParameterback to summary
public void registerRefCursorParameter(CallableStatement statement, String name)

Implements org.hibernate.engine.jdbc.cursor.spi.RefCursorSupport.registerRefCursorParameter.

Doc from org.hibernate.engine.jdbc.cursor.spi.RefCursorSupport.registerRefCursorParameter.

Register a parameter capable of returning a ResultSet *by name*.

Parameters
statement:CallableStatement

The callable statement.

name:String

The parameter name (for drivers which support named parameters).

Annotations
@Override