Class TypedParameterValue


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

      Constructors 
      Constructor Description
      TypedParameterValue​(Type type, java.lang.Object value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Type getType()
      The specific Hibernate type to use to bind the value.
      java.lang.Object getValue()
      The value to bind
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TypedParameterValue

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

      • getValue

        public java.lang.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.