| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | bindValue(T
The value to bind value, TemporalType An explicitly supplied TemporalType. explicitTemporalType)Bind a value to the parameter, using just a specified portion of the DATE/TIME value. |
| public void | enablePassingNulls(boolean
true indicates that the NULL should be passed; false indicates it should not.Redeclares org. |
| public ParameterBind | |
| public ParameterMode | Returns: The parameter mode.Redeclares org. |
| public String | Returns: The name;Redeclares javax. |
| public Integer | Returns: The name;Redeclares javax. |
| public default Class | Returns: The Java type of the parameter.
Deprecated
Call
Return the Java type of the parameter.
getParameterType() instead.
|
| public void | setHibernateType(Type
The Hibernate mapping type. type)Set the Hibernate mapping type for this parameter. |
| bindValue | back to summary |
|---|---|
| public void bindValue(T value) 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(T value, TemporalType explicitTemporalType) 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.
| |
| enablePassingNulls | back to summary |
|---|---|
| public void enablePassingNulls(boolean enabled) Redeclares 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
| |
| getBind | back to summary |
|---|---|
| public ParameterBind Retrieve the binding associated with this parameter. The binding is only relevant for INPUT parameters. Can
return
| |
| getMode | back to summary |
|---|---|
| public ParameterMode getMode() Redeclares 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() Redeclares javax. The name under which this parameter was registered. Can be | |
| getPosition | back to summary |
|---|---|
| public Integer getPosition() Redeclares javax. The position at which this parameter was registered. Can be | |
| getType | back to summary |
|---|---|
| public default Class Deprecated Call Return the Java type of the parameter.
| |
| setHibernateType | back to summary |
|---|---|
| public void setHibernateType(Type type) Set the Hibernate mapping type for this parameter.
| |