Package org.hibernate.jpa.spi
Interface StoredProcedureQueryParameterRegistration<T>
-
- All Superinterfaces:
jakarta.persistence.Parameter<T>
,ParameterRegistration<T>
public interface StoredProcedureQueryParameterRegistration<T> extends ParameterRegistration<T>
ParameterRegistration extension specifically for stored procedure parameters exposing some functionality of Hibernate's nativeParameterRegistration
contract
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
enablePassingNulls(boolean enabled)
Controls how unbound values for this IN/INOUT parameter registration will be handled prior to execution.boolean
isPassNullsEnabled()
How will an unbound value be handled in terms of the JDBC parameter?-
Methods inherited from interface jakarta.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:
true
here indicates that NULL should be passed;false
indicates that it is ignored.
-
enablePassingNulls
void enablePassingNulls(boolean enabled)
Controls how unbound values for this IN/INOUT parameter registration will be handled prior to execution.- Parameters:
enabled
-true
indicates that the NULL should be passed;false
indicates it should not.
-
-