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

net.sf.hibernate.type (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


Package net.sf.hibernate.type

Interface Summary
AbstractComponentType Enables other Component-like types to hold collections and have cascades, etc.
AssociationType A type that represents some kind of association between entities.
DiscriminatorType A Type that may be used for a discriminator column.
IdentifierType A Type that may be used as an identifier.
LiteralType A type that may appear as an SQL literal
Type Defines a mapping from a Java type to an JDBC datatype.
VersionType A Type that may be used to version data.
 

Class Summary
AbstractType Abstract superclass of the built in Type hierarchy.
ArrayType A type for persistent arrays.
BagType  
BigDecimalType big_decimal: A type that maps an SQL NUMERIC to a java.math.BigDecimal
BinaryType binary: A type that maps an SQL VARBINARY to a Java byte[].
BlobType blob: A type that maps an SQL BLOB to a java.sql.Blob.
BooleanType boolean: A type that maps an SQL BIT to a Java Boolean.
ByteType byte: A type that maps an SQL TINYINT to a Java Byte.
CalendarDateType calendar_date: A type mapping for a Calendar object that represents a date.
CalendarType calendar: A type mapping for a Calendar object that represents a datetime.
CharacterType character: A type that maps an SQL CHAR(1) to a Java Character.
CharBooleanType Superclass for types that map Java boolean to SQL CHAR(1).
ClassType class: A type that maps an SQL VARCHAR to a Java Class.
ClobType clob: A type that maps an SQL CLOB to a java.sql.Clob.
ComponentType Handles "component" mappings
CompositeCustomType Adapts CompositeUserType to Type interface
CurrencyType currency: A type that maps an SQL VARCHAR to a java.util.Currency
CustomType Adapts UserType to the generic Type interface.
DateType date: A type that maps an SQL DATE to a Java Date.
DoubleType double: A type that maps an SQL DOUBLE to a Java Double.
DynamicComponentType Handles "dynamic" components, represented as Maps
EntityType A reference to an entity class
FloatType float: A type that maps an SQL FLOAT to a Java Float.
ForeignKeyDirection Represents directionality of the foreign key constraint
IdentifierBagType  
ImmutableType Superclass of nullable immutable types.
IntegerType integer: A type that maps an SQL INT to a Java Integer.
ListType  
LocaleType locale: A type that maps an SQL VARCHAR to a Java Locale.
LongType long: A type that maps an SQL BIGINT to a Java Long.
ManyToOneType A many-to-one association to an entity
MapType  
MetaType  
MutableType Superclass for mutable nullable types
NullableType Superclass of single-column nullable types.
ObjectType Handles "any" mappings and the old deprecated "object" type
ObjectType.ObjectTypeCacheEntry  
OneToOneType A one-to-one association to an entity
PersistentCollectionType A type that handles Hibernate PersistentCollections (including arrays).
PersistentEnumType Deprecated. Support for PersistentEnums will be removed in 2.2
PrimitiveType Superclass of primitive / primitive wrapper types.
SerializableType serializable: A type that maps an SQL VARBINARY to a serializable Java object.
SetType  
ShortType short: A type that maps an SQL SMALLINT to a Java Short.
SortedMapType  
SortedSetType  
StringType string: A type that maps an SQL VARCHAR to a Java String.
TextType text: A type that maps an SQL CLOB to a Java String.
TimestampType timestamp: A type that maps an SQL TIMESTAMP to a Java java.util.Date or java.sql.Timestamp.
TimeType time: A type that maps an SQL TIME to a Java java.util.Date or java.sql.Time.
TimeZoneType timezone: A type that maps an SQL VARCHAR to a java.util.TimeZone
TrueFalseType true_false: A type that maps an SQL CHAR(1) to a Java Boolean.
TypeFactory Used internally to obtain instances of Type.
YesNoType yes_no: A type that maps an SQL CHAR(1) to a Java Boolean.
 

Exception Summary
SerializationException Thrown when a property cannot be serializaed/deserialized