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,
SessionImplementor session) |
String |
renderCallableStatement(String procedureName,
ParameterStrategy parameterStrategy,
List<ParameterRegistrationImplementor<?>> parameterRegistrations,
SessionImplementor session) |
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, SessionImplementor session)
renderCallableStatement
in interface CallableStatementSupport
public void registerParameters(String procedureName, CallableStatement statement, ParameterStrategy parameterStrategy, List<ParameterRegistrationImplementor<?>> parameterRegistrations, SessionImplementor session)
registerParameters
in interface CallableStatementSupport
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.