Class AbstractQueryParameter<T>

    • Constructor Detail

      • AbstractQueryParameter

        public AbstractQueryParameter​(boolean allowMultiValuedBinding,
                                      AllowableParameterType<T> anticipatedType)
    • Method Detail

      • allowsMultiValuedBinding

        public boolean allowsMultiValuedBinding()
        Description copied from interface: QueryParameter
        Does this parameter allow multi-valued (collection, array, etc) binding?

        This is only valid for HQL/JPQL and (I think) Criteria queries, and is determined based on the context of the parameters declaration.

        Specified by:
        allowsMultiValuedBinding in interface QueryParameter<T>
        Returns:
        true indicates that multi-valued binding is allowed for this parameter
      • getName

        public String getName()
        Specified by:
        getName in interface jakarta.persistence.Parameter<T>
      • getPosition

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

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