Class LocalDateType

    • Field Detail

      • INSTANCE

        public static final LocalDateType INSTANCE
        Singleton access

        public static final java.time.format.DateTimeFormatter FORMATTER
    • Constructor Detail

      • LocalDateType

        public LocalDateType()
    • 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
        String the Hibernate type name
      • objectToSQLString

        public java.lang.String objectToSQLString​(java.time.LocalDate 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.time.LocalDate>
        value - The value to convert
        dialect - The SQL dialect
        The value's string representation
        java.lang.Exception - Indicates an issue converting the value to literal string.