public class StandardCallableStatementSupport extends java.lang.Object implements CallableStatementSupport
Modifier and Type | Field and Description |
---|---|
static StandardCallableStatementSupport |
NO_REF_CURSOR_INSTANCE
Singleton access - without REF_CURSOR support
|
static StandardCallableStatementSupport |
REF_CURSOR_INSTANCE
Singleton access - with REF CURSOR support
|
Constructor and Description |
---|
StandardCallableStatementSupport(boolean supportsRefCursors) |
Modifier and Type | Method and Description |
---|---|
void |
registerParameters(java.lang.String procedureName,
java.sql.CallableStatement statement,
ParameterStrategy parameterStrategy,
java.util.List<ParameterRegistrationImplementor<?>> parameterRegistrations,
SharedSessionContractImplementor session) |
java.lang.String |
renderCallableStatement(java.lang.String procedureName,
ParameterStrategy parameterStrategy,
java.util.List<ParameterRegistrationImplementor<?>> parameterRegistrations,
SharedSessionContractImplementor session) |
public static final StandardCallableStatementSupport NO_REF_CURSOR_INSTANCE
public static final StandardCallableStatementSupport REF_CURSOR_INSTANCE
public StandardCallableStatementSupport(boolean supportsRefCursors)
public java.lang.String renderCallableStatement(java.lang.String procedureName, ParameterStrategy parameterStrategy, java.util.List<ParameterRegistrationImplementor<?>> parameterRegistrations, SharedSessionContractImplementor session)
renderCallableStatement
in interface CallableStatementSupport
public void registerParameters(java.lang.String procedureName, java.sql.CallableStatement statement, ParameterStrategy parameterStrategy, java.util.List<ParameterRegistrationImplementor<?>> parameterRegistrations, SharedSessionContractImplementor session)
registerParameters
in interface CallableStatementSupport
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.