Interface NullTypeBindableParameterRegistration<T>

  • All Superinterfaces:
    jakarta.persistence.Parameter<T>, ParameterRegistration<T>

    @Deprecated(since="6.0")
    public interface NullTypeBindableParameterRegistration<T>
    extends ParameterRegistration<T>
    Deprecated.
    Not actually sure what the original intent of this was; but it is not used as of 6.0, so slating for removal
    A 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.
    • Method Detail

      • bindNullValue

        void bindNullValue​(Class<?> nullParameterType)
        Deprecated.
        If bindable, bind a null value using the provided parameter type. This method is only valid if Parameter.getParameterType() returns null.
        Parameters:
        nullParameterType - the Java type to be used for binding the null value; must be non-null.
        Throws:
        IllegalArgumentException - parameterType is null or if Parameter.getParameterType() does not return null.