站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

LiteralType (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


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, Dialect dialect)
          String representation of the value, suitable for embedding in an SQL statement.
 

Method Detail

objectToSQLString

public String objectToSQLString(Object value,
                                Dialect dialect)
                         throws 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:
Exception