public class StandardCallableStatementSupport extends 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(String procedureName,
CallableStatement statement,
ParameterStrategy parameterStrategy,
List<ParameterRegistrationImplementor<?>> parameterRegistrations,
SharedSessionContractImplementor session) |
String |
renderCallableStatement(String procedureName,
ParameterStrategy parameterStrategy,
List<ParameterRegistrationImplementor<?>> parameterRegistrations,
SharedSessionContractImplementor session) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
renderCallableStatement
public static final StandardCallableStatementSupport NO_REF_CURSOR_INSTANCE
public static final StandardCallableStatementSupport REF_CURSOR_INSTANCE
public StandardCallableStatementSupport(boolean supportsRefCursors)
public String renderCallableStatement(String procedureName, ParameterStrategy parameterStrategy, List<ParameterRegistrationImplementor<?>> parameterRegistrations, SharedSessionContractImplementor session)
renderCallableStatement
in interface CallableStatementSupport
public void registerParameters(String procedureName, CallableStatement statement, ParameterStrategy parameterStrategy, List<ParameterRegistrationImplementor<?>> parameterRegistrations, SharedSessionContractImplementor session)
registerParameters
in interface CallableStatementSupport
Copyright © 2021 JBoss by Red Hat. All rights reserved.