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,
SessionImplementor session) |
java.lang.String |
renderCallableStatement(java.lang.String procedureName,
ParameterStrategy parameterStrategy,
java.util.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 java.lang.String renderCallableStatement(java.lang.String procedureName,
ParameterStrategy parameterStrategy,
java.util.List<ParameterRegistrationImplementor<?>> parameterRegistrations,
SessionImplementor session)
renderCallableStatement in interface CallableStatementSupportpublic void registerParameters(java.lang.String procedureName,
java.sql.CallableStatement statement,
ParameterStrategy parameterStrategy,
java.util.List<ParameterRegistrationImplementor<?>> parameterRegistrations,
SessionImplementor session)
registerParameters in interface CallableStatementSupportCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.