public interface LiteralType<T>
Type
that may appear as an SQL literalModifier and Type | Method and Description |
---|---|
java.lang.String |
objectToSQLString(T value,
Dialect dialect)
Convert the value into a string representation, suitable for embedding in an SQL statement as a
literal.
|
java.lang.String objectToSQLString(T value, Dialect dialect) throws java.lang.Exception
value
- The value to convertdialect
- The SQL dialectjava.lang.Exception
- Indicates an issue converting the value to literal string.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.