public final class StandardBasicTypes extends Object
types
.
Type mappings can be adjusted per SessionFactory
. These adjusted mappings can be accessed
from the TypeHelper
instance obtained via SessionFactory.getTypeHelper()
public static final BooleanType BOOLEAN
BooleanType
public static final NumericBooleanType NUMERIC_BOOLEAN
NumericBooleanType
public static final TrueFalseType TRUE_FALSE
TrueFalseType
public static final ByteType BYTE
public static final IntegerType INTEGER
IntegerType
public static final DoubleType DOUBLE
DoubleType
public static final BigIntegerType BIG_INTEGER
BigInteger
to JDBC NUMERIC
.BigIntegerType
public static final BigDecimalType BIG_DECIMAL
BigDecimal
to JDBC NUMERIC
.BigDecimalType
public static final CharacterType CHARACTER
CharacterType
public static final StringType STRING
StringType
public static final TimestampType TIMESTAMP
TimeType
public static final CalendarType CALENDAR
CalendarType
public static final CalendarDateType CALENDAR_DATE
CalendarDateType
public static final LocaleType LOCALE
LocaleType
public static final CurrencyType CURRENCY
CurrencyType
public static final TimeZoneType TIMEZONE
TimeZoneType
public static final UUIDBinaryType UUID_BINARY
UUIDBinaryType
public static final UUIDCharType UUID_CHAR
UUIDCharType
public static final BinaryType BINARY
byte[]
to JDBC VARBINARY
.BinaryType
public static final WrapperBinaryType WRAPPER_BINARY
WrapperBinaryType
public static final ImageType IMAGE
byte[]
to JDBC LONGVARBINARY
.ImageType
,
MATERIALIZED_BLOB
public static final BlobType BLOB
BlobType
,
MATERIALIZED_BLOB
public static final MaterializedBlobType MATERIALIZED_BLOB
byte[]
to JDBC BLOB
.MaterializedBlobType
,
MATERIALIZED_BLOB
,
IMAGE
public static final CharArrayType CHAR_ARRAY
char[]
to JDBC VARCHAR
.CharArrayType
public static final CharacterArrayType CHARACTER_ARRAY
Character[]
to JDBC
VARCHAR
.CharacterArrayType
public static final NTextType NTEXT
String
to JDBC LONGNVARCHAR
.
Similar to a MATERIALIZED_NCLOB
NTextType
public static final ClobType CLOB
ClobType
,
MATERIALIZED_CLOB
public static final NClobType NCLOB
NClobType
,
MATERIALIZED_NCLOB
public static final MaterializedClobType MATERIALIZED_CLOB
MaterializedClobType
,
MATERIALIZED_CLOB
,
TEXT
public static final MaterializedNClobType MATERIALIZED_NCLOB
MaterializedNClobType
,
MATERIALIZED_CLOB
,
NTEXT
public static final SerializableType SERIALIZABLE
Serializable
to JDBC VARBINARY
.
See especially the discussion wrt ClassLoader
determination on SerializableType
SerializableType
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.