Package org.hibernate.jpa.spi
Interface StoredProcedureQueryParameterRegistration<T>
-
- All Superinterfaces:
Parameter<T>,ParameterRegistration<T>
public interface StoredProcedureQueryParameterRegistration<T> extends ParameterRegistration<T>
ParameterRegistration extension specifically for stored procedure parameters exposing some functionality of Hibernate's nativeParameterRegistrationcontract
-
-
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.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.jpa.spi.ParameterRegistration
bindValue, bindValue, getBind, getMode, getQuery, isBindable, isJpaPositionalParameter
-
-
-
-
Method Detail
-
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)
-
-