Class DoubleType

    • Field Detail

      • INSTANCE

        public static final DoubleType INSTANCE
      • ZERO

        public static final java.lang.Double ZERO
    • Constructor Detail

      • DoubleType

        public DoubleType()
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: Type
        Returns the abbreviated name of the type.
        Specified by:
        getName in interface Type
        Returns:
        String the Hibernate type name
      • getDefaultValue

        public java.io.Serializable getDefaultValue()
        Description copied from interface: PrimitiveType
        Get this type's default value.
        Specified by:
        getDefaultValue in interface PrimitiveType<java.lang.Double>
        Returns:
        The default value.
      • objectToSQLString

        public java.lang.String objectToSQLString​(java.lang.Double value,
                                                  Dialect dialect)
                                           throws java.lang.Exception
        Description copied from interface: LiteralType
        Convert the value into a string representation, suitable for embedding in an SQL statement as a literal.
        Specified by:
        objectToSQLString in interface LiteralType<java.lang.Double>
        Parameters:
        value - The value to convert
        dialect - The SQL dialect
        Returns:
        The value's string representation
        Throws:
        java.lang.Exception - Indicates an issue converting the value to literal string.