| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private static final Logger | |
| private final ParameterMode | |
| private final String | |
| private boolean | |
| private final Integer | |
| private final ProcedureCallImpl | procedureCall
Deprecated
as a consequence of
ProcedureCallImpl being deprecated.
|
| private int[] | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | ProcedureParameterImpl(ProcedureCallImpl<R> procedureCall, String name, ParameterMode mode, Class<T> javaType, Type hibernateType, boolean initialPassNullsSetting)
Deprecated
as a consequence of
ProcedureCallImpl being deprecated.
|
| public | ProcedureParameterImpl(ProcedureCallImpl<R> procedureCall, Integer position, ParameterMode mode, Class<T> javaType, Type hibernateType, boolean initialPassNullsSetting)
Deprecated
as a consequence of
ProcedureCallImpl being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | bindValue(Object
The value to bind. value)Implements org. |
| public void | bindValue(Object
The value to bind value, TemporalType An explicitly supplied TemporalType. explicitTemporalType)Implements org. |
| private boolean | |
| private Type | |
| public void | enablePassingNulls(boolean
true indicates that the NULL should be passed; false indicates it should not.Implements org. |
| public T | extract(CallableStatement
The callable statement statement)Implements org. |
| public ParameterBind | getBind()
Implements org. |
| public ParameterMode | getMode()
Implements org. |
| public String | getName()
Implements javax. |
| public Class | getParameterType()
Overrides org. Implements javax. |
| public Integer | getPosition()
Implements javax. |
| public int[] | |
| public int[] | getSqlTypes()
Implements org. |
| public boolean | isPassNullsEnabled()
Implements org. |
| public void | prepare(CallableStatement
The statement about to be executed statement, int The parameter index for this registration (used for positional) startIndex)Implements org. |
| public void | setHibernateType(Type
The Hibernate mapping type. expectedType)Overrides org. Implements org. |
| javaType | back to summary |
|---|---|
| private final Class<T> javaType | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| mode | back to summary |
|---|---|
| private final ParameterMode mode | |
| name | back to summary |
|---|---|
| private final String name | |
| passNullsEnabled | back to summary |
|---|---|
| private boolean passNullsEnabled | |
| position | back to summary |
|---|---|
| private final Integer position | |
| procedureCall | back to summary |
|---|---|
| private final ProcedureCallImpl<R> procedureCall
Deprecated as a consequence of | |
| sqlTypes | back to summary |
|---|---|
| private int[] sqlTypes | |
| startIndex | back to summary |
|---|---|
| private int startIndex | |
| ProcedureParameterImpl | back to summary |
|---|---|
| public ProcedureParameterImpl(ProcedureCallImpl<R> procedureCall, String name, ParameterMode mode, Class<T> javaType, Type hibernateType, boolean initialPassNullsSetting)
Deprecated as a consequence of | |
| ProcedureParameterImpl | back to summary |
|---|---|
| public ProcedureParameterImpl(ProcedureCallImpl<R> procedureCall, Integer position, ParameterMode mode, Class<T> javaType, Type hibernateType, boolean initialPassNullsSetting)
Deprecated as a consequence of | |
| bindValue | back to summary |
|---|---|
| public void bindValue(Object value) Implements org. Doc from org. Bind a value to the parameter. How this value is bound to the underlying JDBC CallableStatement is totally dependent on the Hibernate type.
| |
| bindValue | back to summary |
|---|---|
| public void bindValue(Object value, TemporalType explicitTemporalType) Implements org. Doc from org. Bind a value to the parameter, using just a specified portion of the DATE/TIME value. It is illegal to call this form if the parameter is not DATE/TIME type. The Hibernate type is circumvented in this case and an appropriate "precision" Type is used instead.
| |
| canDoNameParameterBinding | back to summary |
|---|---|
| private boolean canDoNameParameterBinding(Type hibernateType) | |
| determineHibernateType | back to summary |
|---|---|
| private Type determineHibernateType() | |
| enablePassingNulls | back to summary |
|---|---|
| public void enablePassingNulls(boolean enabled) Implements org. Doc from org. Controls how unbound values for this IN/INOUT parameter registration will be handled prior to execution. There are 2 possible options to handle it:
The reason for the distinction comes from default values defined on the corresponding database procedure/function argument. Any time a value (including NULL) is bound to the argument, its default value will not be used. So effectively this setting controls whether the NULL should be interpreted as "pass the NULL" or as "apply the argument default".
The (global) default this setting is defined by
| |
| extract | back to summary |
|---|---|
| public T extract(CallableStatement statement) Implements org. Doc from org. Extract value from the statement after execution (used for OUT/INOUT parameters).
| |
| getBind | back to summary |
|---|---|
| public ParameterBind Implements org. Doc from org. Retrieve the binding associated with this parameter. The binding is only relevant for INPUT parameters. Can
return
| |
| getMode | back to summary |
|---|---|
| public ParameterMode getMode() Implements org. Doc from org. Retrieves the parameter "mode" which describes how the parameter is defined in the actual database procedure definition (is it an INPUT parameter? An OUTPUT parameter? etc).
| |
| getName | back to summary |
|---|---|
| public String getName() Implements javax. Doc from org. The name under which this parameter was registered. Can be | |
| getParameterType | back to summary |
|---|---|
| public Class Overrides org. Implements javax. Doc from javax. Return the Java type of the parameter. Values bound to the parameter must be assignable to this type. This method is required to be supported for criteria queries only. Applications that use this method for Java Persistence query language queries and native queries will not be portable. | |
| getPosition | back to summary |
|---|---|
| public Integer getPosition() Implements javax. Doc from org. The position at which this parameter was registered. Can be | |
| getSourceLocations | back to summary |
|---|---|
| public int[] getSourceLocations() Implements org.
| |
| getSqlTypes | back to summary |
|---|---|
| public int[] getSqlTypes() Implements org. Doc from org. Access to the SQL type(s) for this parameter
| |
| isPassNullsEnabled | back to summary |
|---|---|
| public boolean isPassNullsEnabled() Implements org. Doc from org. How will an unbound value be handled in terms of the JDBC parameter?
| |
| prepare | back to summary |
|---|---|
| public void prepare(CallableStatement statement, int startIndex) throws SQLException Implements org. Doc from org. Prepare for execution.
| |
| setHibernateType | back to summary |
|---|---|
| public void setHibernateType(Type expectedType) Overrides org. Implements org. Doc from org. Set the Hibernate mapping type for this parameter. | |