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(Class<?> nullParameterType)
If bindable, bind a null value using the provided parameter type.
|
bindValue, bindValue, getBind, getMode, getQuery, isBindable, isJpaPositionalParameter
getName, getParameterType, getPosition
void bindNullValue(Class<?> nullParameterType)
Parameter.getParameterType()
returns null
.nullParameterType
- the Java type to be used for binding the null value;
must be non-null.IllegalArgumentException
- parameterType
is null or if
Parameter.getParameterType()
does not return null.Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.