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 CallableStatementSupportpublic void registerParameters(String procedureName, CallableStatement statement, ParameterStrategy parameterStrategy, List<ParameterRegistrationImplementor<?>> parameterRegistrations, SessionImplementor session)
registerParameters in interface CallableStatementSupportCopyright © 2017 JBoss by Red Hat. All rights reserved.