Class TypedParameterValue


  • public class TypedParameterValue
    extends Object
    Can be used to bind query parameter values. Allows to provide additional details about the parameter value/binding.
    • Constructor Detail

      • TypedParameterValue

        public TypedParameterValue​(Type type,
                                   Object value)
    • Method Detail

      • getValue

        public Object getValue()
        The value to bind
        Returns:
        The value to be bound
      • getType

        public Type getType()
        The specific Hibernate type to use to bind the value.
        Returns:
        The Hibernate type to use.