public interface ParameterRegistrationImplementor<T> extends ParameterRegistration<T>
Modifier and Type | Method and Description |
---|---|
T |
extract(CallableStatement statement)
Extract value from the statement after execution (used for OUT/INOUT parameters).
|
Type |
getHibernateType()
Access to the Hibernate type for this parameter registration
|
int[] |
getSqlTypes()
Access to the SQL type(s) for this parameter
|
boolean |
isPassNullsEnabled()
If no value is bound for this parameter registration, is the passing of NULL
to the JDBC CallableStatement for that parameter enabled? This effectively controls
whether default values for the argument as defined in the database are applied or not.
|
void |
prepare(CallableStatement statement,
int i)
Prepare for execution.
|
bindValue, bindValue, enablePassingNulls, getBind, getMode, getName, getPosition, getType, setHibernateType
getSourceLocations
getParameterType
void prepare(CallableStatement statement, int i) throws SQLException
statement
- The statement about to be executedi
- The parameter index for this registration (used for positional)SQLException
- Indicates a problem accessing the statement objectType getHibernateType()
getHibernateType
in interface QueryParameter<T>
boolean isPassNullsEnabled()
isPassNullsEnabled
in interface ProcedureParameter<T>
true
indicates that NULL will be passed to the JDBC driver, effectively disabling
the application of the default argument value defined in the database; false
indicates
that the parameter will simply be ignored, with the assumption that the corresponding argument
defined a default value.isPassNullsEnabled()
int[] getSqlTypes()
T extract(CallableStatement statement)
statement
- The callable statementCopyright © 2019 JBoss by Red Hat. All rights reserved.