接口 NullTypeBindableParameterRegistration<T>
-
- 所有超级接口:
javax.persistence.Parameter<T>,ParameterRegistration<T>
public interface NullTypeBindableParameterRegistration<T> extends ParameterRegistration<T>
AParameterRegistrationthat allows providing Java type information when binding a null value for a parameter when there is no other available type information for that parameter.- 作者:
- Gail Badner
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidbindNullValue(Class<?> nullParameterType)If bindable, bind a null value using the provided parameter type.-
从接口继承的方法 org.hibernate.jpa.spi.ParameterRegistration
bindValue, bindValue, getBind, getMode, getQuery, isBindable, isJpaPositionalParameter
-
-
-
-
方法详细资料
-
bindNullValue
void bindNullValue(Class<?> nullParameterType)
If bindable, bind a null value using the provided parameter type. This method is only valid ifParameter.getParameterType()returnsnull.- 参数:
nullParameterType- the Java type to be used for binding the null value; must be non-null.- 抛出:
IllegalArgumentException-parameterTypeis null or ifParameter.getParameterType()does not return null.
-
-