Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
org.hibernate.dialect |
This package abstracts the SQL dialect of the underlying database.
|
org.hibernate.impl |
This package contains implementations of the
central Hibernate APIs, especially the
Hibernate session.
|
org.hibernate.type |
A Hibernate Type is a strategy for mapping a
Java property type to a JDBC type or types.
|
Modifier and Type | Method and Description |
---|---|
BasicType |
TypeHelper.basic(java.lang.Class javaType)
Convenience form of
TypeHelper.basic(String) . |
BasicType |
TypeHelper.basic(java.lang.String name)
Retrieve the basic type registered against the given name.
|
Modifier and Type | Method and Description |
---|---|
void |
Configuration.registerTypeOverride(BasicType type)
Allows registration of a type into the type registry.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<BasicType> |
Dialect.getTypeOverrides()
Retrieve dialect-specific types for overriding "basic" types.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Dialect.addTypeOverride(BasicType typeOverride) |
Modifier and Type | Method and Description |
---|---|
BasicType |
TypeLocatorImpl.basic(java.lang.Class javaType)
Convenience form of
TypeHelper.basic(String) . |
BasicType |
TypeLocatorImpl.basic(java.lang.String name)
Retrieve the basic type registered against the given name.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSingleColumnStandardBasicType<T>
TODO : javadoc
|
class |
AbstractStandardBasicType<T>
TODO : javadoc
|
class |
AdaptedImmutableType<T>
Optimize a mutable type, if the user promises not to mutable the
instances.
|
class |
BigDecimalType
A type that maps between a
NUMERIC and BigDecimal . |
class |
BigIntegerType
A type that maps between a
NUMERIC and BigInteger . |
class |
BinaryType
A type that maps between a
VARBINARY and byte[] |
class |
BlobType
A type that maps between
BLOB and Blob |
class |
BooleanType
A type that maps between
BIT and Boolean |
class |
ByteType
A type that maps between
TINYINT and Byte |
class |
CalendarDateType
A type mapping
DATE and Calendar |
class |
CalendarType
A type that maps between
TIMESTAMP and Calendar |
class |
CharacterArrayClobType
A type that maps between
CLOB and Character[]
Essentially a MaterializedClobType but represented as a Character[] in Java rather than String. |
class |
CharacterArrayType
A type that maps between
VARCHAR and Character[] |
class |
CharacterType
A type that maps between
CHAR(1) and Character |
class |
CharArrayType
A type that maps between
VARCHAR and char[] |
class |
CharBooleanType
Deprecated.
Use the
AbstractStandardBasicType approach instead |
class |
ClassType
A type that maps between
VARCHAR and Class |
class |
ClobType
A type that maps between
CLOB and Clob |
class |
CompositeCustomType
Adapts
CompositeUserType to the Type interface |
class |
CurrencyType
A type that maps between
VARCHAR and Currency |
class |
CustomType
|
class |
DateType
A type that maps between
DATE and Date |
class |
DbTimestampType
dbtimestamp: An extension of
TimestampType which
maps to the database's current timestamp, rather than the jvm's
current timestamp. |
class |
DoubleType
A type that maps between
DOUBLE and Double |
class |
FloatType
A type that maps between
FLOAT and Float |
class |
ImageType
A type that maps between
LONGVARBINARY and byte[] |
class |
IntegerType
A type that maps between
INTEGER and @link Integer} |
class |
LobType<T>
A base type used to define a LOB type; it also provides
alternatives that can override this type via
LobType.getAlternatives() getAlternatives()} |
class |
LocaleType
A type that maps between
VARCHAR and @link Locale} |
class |
LongType
A type that maps between
BIGINT and Long |
class |
MaterializedBlobType
A type that maps between
BLOB and byte[] |
class |
MaterializedClobType
A type that maps between
CLOB and String |
class |
NumericBooleanType
A type that maps between
INTEGER and Boolean (using 1 and 0) |
class |
ObjectType
Specific adaptation of the "any" type to the old deprecated "object" type
|
class |
PostgresUUIDType
Specialized type mapping for
UUID and the Postgres UUID data type (which is mapped as OTHER in its
JDBC driver). |
class |
PrimitiveCharacterArrayClobType
Map a char[] to a Clob
|
class |
SerializableType<T extends java.io.Serializable>
A type that maps between a
VARBINARY and Serializable classes. |
class |
ShortType
A type that maps between
SMALLINT and Short |
class |
StringType
A type that maps between
VARCHAR and String |
class |
TextType
A type that maps between
LONGVARCHAR and String |
class |
TimestampType
A type that maps between
TIMESTAMP and Timestamp |
class |
TimeType
A type that maps between
TIME and Time |
class |
TimeZoneType
A type mapping
VARCHAR and TimeZone |
class |
TrueFalseType
A type that maps between
CHAR(1) and Boolean (using 'T' and 'F') |
class |
UrlType
A type that maps between
VARCHAR and URL |
class |
UUIDBinaryType
A type mapping
Types.BINARY and UUID |
class |
UUIDCharType
A type mapping
Types.CHAR (or Types.VARCHAR ) and UUID |
class |
WrappedMaterializedBlobType
A type that maps JDBC
BLOB and Byte[] . |
class |
WrapperBinaryType
A type mapping
VARBINARY and Byte[] |
class |
YesNoType
A type that maps between
CHAR(1) and Boolean (using 'Y' and 'N') |
Modifier and Type | Method and Description |
---|---|
BasicType |
TypeResolver.basic(java.lang.String name)
Locate a Hibernate basic type given (one of) its registration names;
if scoped to a
SessionFactoryImplementor , the scoped type is returned. |
BasicType |
BasicTypeRegistry.getRegisteredType(java.lang.String key) |
Modifier and Type | Method and Description |
---|---|
void |
BasicTypeRegistry.register(BasicType type) |
void |
TypeResolver.registerTypeOverride(BasicType type) |
Copyright © 2013. All Rights Reserved.