org.hibernate.type
Interface LiteralType

All Known Subinterfaces:
DiscriminatorType
All Known Implementing Classes:
BigIntegerType, BooleanType, ByteType, CharacterType, CharBooleanType, CurrencyType, CustomType, DateType, DbTimestampType, DoubleType, FloatType, IntegerType, LocaleType, LongType, NumericBooleanType, PrimitiveType, ShortType, StringType, TimestampType, TimeType, TimeZoneType, TrueFalseType, YesNoType

public interface LiteralType

A type that may appear as an SQL literal

Author:
Gavin King

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

Method Detail

objectToSQLString

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

Parameters:
value -
dialect -
Returns:
String the value, as it appears in a SQL query
Throws:
java.lang.Exception


Copyright © 2010. All Rights Reserved.