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