Class AbstractQueryParameterImpl<T>

  • All Implemented Interfaces:
    jakarta.persistence.Parameter<T>, QueryParameter<T>

    public abstract class AbstractQueryParameterImpl<T>
    extends Object
    implements QueryParameter<T>
    QueryParameter implementation. NOTE: Unfortunately we need to model named and positional parameters separately still until 6.0. For now this is simply the base abstract class for those specific impls
    • Constructor Detail

      • AbstractQueryParameterImpl

        public AbstractQueryParameterImpl​(BindableType<T> expectedType)
    • Method Detail

      • getHibernateType

        public BindableType<T> getHibernateType()
        Description copied from interface: QueryParameter
        Get the Hibernate Type associated with this parameter, if one. May return null.
        Specified by:
        getHibernateType in interface QueryParameter<T>
        The associated Hibernate Type, may be null.
      • setHibernateType

        public void setHibernateType​(BindableType<?> expectedType)
      • getParameterType

        public Class<T> getParameterType()
        Specified by:
        getParameterType in interface jakarta.persistence.Parameter<T>