Top Description Fields Constructors Methods
org.hibernate.procedure.internal

public Class StandardCallableStatementSupport

extends Object
implements CallableStatementSupport
Class Inheritance
All Implemented Interfaces
org.hibernate.procedure.spi.CallableStatementSupport
Imports
java.sql.CallableStatement, .SQLException, java.util.List, javax.persistence.ParameterMode, org.hibernate.QueryException, org.hibernate.dialect.Dialect, org.hibernate.engine.spi.SharedSessionContractImplementor, org.hibernate.procedure.spi.CallableStatementSupport, .ParameterRegistrationImplementor, .ParameterStrategy

Standard implementation of CallableStatementSupport
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final StandardCallableStatementSupport
NO_REF_CURSOR_INSTANCE

Singleton access - without REF_CURSOR support

public static final StandardCallableStatementSupport
REF_CURSOR_INSTANCE

Singleton access - with REF CURSOR support

private final boolean

Constructor Summary

AccessConstructor and Description
public
StandardCallableStatementSupport(boolean supportsRefCursors)

Method Summary

Modifier and TypeMethod and Description
public void
public String
private void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

NO_REF_CURSOR_INSTANCEback to summary
public static final StandardCallableStatementSupport NO_REF_CURSOR_INSTANCE

Singleton access - without REF_CURSOR support

REF_CURSOR_INSTANCEback to summary
public static final StandardCallableStatementSupport REF_CURSOR_INSTANCE

Singleton access - with REF CURSOR support

supportsRefCursorsback to summary
private final boolean supportsRefCursors

Constructor Detail

StandardCallableStatementSupportback to summary
public StandardCallableStatementSupport(boolean supportsRefCursors)

Method Detail

registerParametersback to summary
public void registerParameters(String procedureName, CallableStatement statement, ParameterStrategy parameterStrategy, List<ParameterRegistrationImplementor<?>> parameterRegistrations, SharedSessionContractImplementor session)

Implements org.hibernate.procedure.spi.CallableStatementSupport.registerParameters.

Annotations
@Override
renderCallableStatementback to summary
public String renderCallableStatement(String procedureName, ParameterStrategy parameterStrategy, List<ParameterRegistrationImplementor<?>> parameterRegistrations, SharedSessionContractImplementor session)

Overrides default org.hibernate.procedure.spi.CallableStatementSupport.renderCallableStatement.

Annotations
@Override
verifyRefCursorSupportback to summary
private void verifyRefCursorSupport(Dialect dialect)