Interface LiteralType<T>

    • Method Detail

      • objectToSQLString

        java.lang.String objectToSQLString​(T value,
                                           Dialect dialect)
                                    throws java.lang.Exception
        Convert the value into a string representation, suitable for embedding in an SQL statement as a literal.
        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.