Class LocalTimeType

    • Constructor Detail

      • LocalTimeType

        public LocalTimeType()
    • Method Detail

      • getName

        public 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
      • objectToSQLString

        public String objectToSQLString​(LocalTime value,
                                        Dialect dialect)
                                 throws 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<LocalTime>
        Parameters:
        value - The value to convert
        dialect - The SQL dialect
        Returns:
        The value's string representation
        Throws:
        Exception - Indicates an issue converting the value to literal string.