Class NamedParameterDescriptor

    • Constructor Detail

      • NamedParameterDescriptor

        public NamedParameterDescriptor​(String name,
                                        AllowableParameterType expectedType,
                                        int[] sourceLocations)
        Constructs a NamedParameterDescriptor
        name - The name of the parameter
        expectedType - The expected type of the parameter, according to the translator
        sourceLocations - The locations of the named parameters (aye aye aye)
    • Method Detail

      • hashCode

        public int hashCode()
        hashCode in class Object
      • 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.

        true indicates that multi-valued binding is allowed for this parameter