当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
LiteralType (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.type
Interface LiteralType
- All Known Subinterfaces:
- DiscriminatorType
- All Known Implementing Classes:
- BooleanType, ByteType, CharacterType, CurrencyType, DateType, IntegerType, LocaleType, LongType, PersistentEnumType, PrimitiveType, ShortType, StringType, TimestampType, TimeType, TimeZoneType
- public interface LiteralType
A type that may appear as an SQL literal
- Author:
- Gavin King
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