Package org.hibernate.query.procedure
Interface ProcedureParameter<T>
-
- All Superinterfaces:
Parameter<T>,QueryParameter<T>
- All Known Subinterfaces:
ParameterRegistration<T>,ParameterRegistrationImplementor<T>,ProcedureParameterImplementor<T>
public interface ProcedureParameter<T> extends QueryParameter<T>
NOTE: Consider this contract (and its sub-contracts) as incubating as we transition to 6.0 and SQM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidenablePassingNulls(boolean enabled)Controls how unbound values for this IN/INOUT parameter registration will be handled prior to execution.ParameterModegetMode()Retrieves the parameter "mode".booleanisPassNullsEnabled()How will an unbound value be handled in terms of the JDBC parameter?-
Methods inherited from interface javax.persistence.Parameter
getName, getParameterType, getPosition
-
Methods inherited from interface org.hibernate.query.QueryParameter
getHibernateType, getSourceLocations
-
-
-
-
Method Detail
-
getMode
ParameterMode getMode()
Retrieves the parameter "mode". Only really pertinent in regards to procedure/function calls. In all other cases the mode would beParameterMode.IN- Returns:
- The parameter mode.
-
isPassNullsEnabled
boolean isPassNullsEnabled()
How will an unbound value be handled in terms of the JDBC parameter?- Returns:
truehere indicates that NULL should be passed;falseindicates that it is ignored.- See Also:
ParameterRegistrationImplementor.isPassNullsEnabled()
-
enablePassingNulls
void enablePassingNulls(boolean enabled)
Controls how unbound values for this IN/INOUT parameter registration will be handled prior to execution. For details seeParameterRegistration.enablePassingNulls(boolean)- Parameters:
enabled-trueindicates that the NULL should be passed;falseindicates it should not.- See Also:
ParameterRegistration.enablePassingNulls(boolean)
-
-