public interface NullTypeBindableParameterRegistration<T> extends ParameterRegistration<T>
ParameterRegistration
that allows providing Java type information when
binding a null value for a parameter when there is no other available type information
for that parameter.Modifier and Type | Method and Description |
---|---|
void |
bindNullValue(java.lang.Class<?> nullParameterType)
If bindable, bind a null value using the provided parameter type.
|
bindValue, bindValue, getBind, getMode, getQuery, isBindable, isJpaPositionalParameter
void bindNullValue(java.lang.Class<?> nullParameterType)
Parameter.getParameterType()
returns null
.nullParameterType
- the Java type to be used for binding the null value;
must be non-null.java.lang.IllegalArgumentException
- parameterType
is null or if
Parameter.getParameterType()
does not return null.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.