org.hibernate.type
Interface LiteralType

All Known Subinterfaces:
DiscriminatorType
All Known Implementing Classes:
BigIntegerType, BooleanType, ByteType, CharacterType, CurrencyType, CustomType, DateType, IntegerType, LocaleType, LongType, PrimitiveType, ShortType, StringType, TimestampType, TimeType, TimeZoneType

public interface LiteralType

A type that may appear as an SQL literal

Author:
Gavin King

Method Summary
 String objectToSQLString(Object value)
          String representation of the value, suitable for embedding in an SQL statement.
 

Method Detail

objectToSQLString

public String objectToSQLString(Object value)
                         throws Exception
String representation of the value, suitable for embedding in an SQL statement.

Parameters:
value -
Returns:
String
Throws:
Exception