Package org.hibernate.type
Class StandardBasicTypes
java.lang.Object
org.hibernate.type.StandardBasicTypes
References to common
BasicTypeReference
instances-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BasicTypeReference<BigDecimal>
The standard Hibernate type for mappingBigDecimal
to JDBCNUMERIC
.static final BasicTypeReference<BigInteger>
The standard Hibernate type for mappingBigInteger
to JDBCNUMERIC
.static final BasicTypeReference<byte[]>
The standard Hibernate type for mappingbyte[]
to JDBCVARBINARY
.static final BasicTypeReference<Byte[]>
static final BasicTypeReference<Blob>
static final BasicTypeReference<Boolean>
static final BasicTypeReference<Byte>
static final BasicTypeReference<Calendar>
static final BasicTypeReference<Calendar>
static final BasicTypeReference<Calendar>
static final BasicTypeReference<char[]>
The standard Hibernate type for mappingchar[]
to JDBCVARCHAR
.static final BasicTypeReference<Character>
static final BasicTypeReference<Character[]>
The standard Hibernate type for mappingCharacter[]
to JDBCVARCHAR
.static final BasicTypeReference<Character>
static final BasicTypeReference<Class>
static final BasicTypeReference<Clob>
static final BasicTypeReference<Currency>
static final BasicTypeReference<Date>
static final BasicTypeReference<Double>
static final BasicTypeReference<Duration>
static final BasicTypeReference<Float>
static final BasicTypeReference<byte[]>
The standard Hibernate type for mappingbyte[]
to JDBCLONGVARBINARY
.static final BasicTypeReference<Instant>
The standard Hibernate type for mappingInstant
to JDBCTIMESTAMP_UTC
.static final BasicTypeReference<Integer>
static final BasicTypeReference<LocalDate>
static final BasicTypeReference<LocalDateTime>
The standard Hibernate type for mappingLocalDateTime
to JDBCTIMESTAMP
.static final BasicTypeReference<LocalTime>
static final BasicTypeReference<Locale>
static final BasicTypeReference<Long>
static final BasicTypeReference<byte[]>
The standard Hibernate type for mappingbyte[]
to JDBCBLOB
.static final BasicTypeReference<Byte[]>
The standard Hibernate type for mappingByte[]
to JDBCBLOB
.static final BasicTypeReference<String>
static final BasicTypeReference<char[]>
The standard Hibernate type for mappingchar[]
to JDBCCLOB
.static final BasicTypeReference<Character[]>
The standard Hibernate type for mappingCharacter[]
to JDBCCLOB
.static final BasicTypeReference<String>
static final BasicTypeReference<char[]>
The standard Hibernate type for mappingchar[]
to JDBCNCLOB
.static final BasicTypeReference<Character[]>
The standard Hibernate type for mappingCharacter[]
to JDBCNCLOB
andstatic final BasicTypeReference<NClob>
static final BasicTypeReference<String>
static final BasicTypeReference<String>
The standard Hibernate type for mappingString
to JDBCLONGNVARCHAR
.static final BasicTypeReference<Boolean>
static final BasicTypeReference<Object>
static final BasicTypeReference<OffsetDateTime>
The standard Hibernate type for mappingOffsetDateTime
to JDBCTIMESTAMP_WITH_TIMEZONE
orTIMESTAMP
depending on the "hibernate.timezone.default_storage" setting.static final BasicTypeReference<OffsetDateTime>
The standard Hibernate type for mappingOffsetDateTime
to JDBCTIMESTAMP_WITH_TIMEZONE
.static final BasicTypeReference<OffsetDateTime>
The standard Hibernate type for mappingOffsetDateTime
to JDBCTIMESTAMP
.static final BasicTypeReference<OffsetTime>
The standard Hibernate type for mappingOffsetTime
to JDBCTIME_WITH_TIMEZONE
.static final BasicTypeReference<OffsetTime>
The standard Hibernate type for mappingOffsetTime
to JDBCTIME_UTC
.static final BasicTypeReference<OffsetTime>
The standard Hibernate type for mappingOffsetTime
to JDBCTIME_WITH_TIMEZONE
.static final BasicTypeReference<OffsetTime>
The standard Hibernate type for mappingOffsetTime
to JDBCTIME
.static final BasicTypeReference<byte[]>
The standard Hibernate type for mappingbyte[]
to JDBCVARBINARY
, specifically for entity versions/timestamps.static final BasicTypeReference<Serializable>
The standard Hibernate type for mappingSerializable
to JDBCVARBINARY
.static final BasicTypeReference<Short>
static final BasicTypeReference<String>
static final BasicTypeReference<String>
The standard Hibernate type for mappingString
to JDBCLONGVARCHAR
.static final BasicTypeReference<Date>
static final BasicTypeReference<Date>
static final BasicTypeReference<TimeZone>
static final BasicTypeReference<Boolean>
static final BasicTypeReference<URL>
static final BasicTypeReference<UUID>
static final BasicTypeReference<UUID>
static final BasicTypeReference<UUID>
static final BasicTypeReference<float[]>
The standard Hibernate type for mappingfloat[]
to JDBCVECTOR
, specifically for embedding vectors like provided by the PostgreSQL extension pgvector and Oracle 23ai.static final BasicTypeReference<float[]>
The standard Hibernate type for mappingfloat[]
to JDBCVECTOR
, specifically for embedding single-precision floating-point (32-bits) vectors like provided by Oracle 23ai.static final BasicTypeReference<double[]>
The standard Hibernate type for mappingdouble[]
to JDBCVECTOR
, specifically for embedding double-precision floating-point (64-bits) vectors like provided by Oracle 23ai.static final BasicTypeReference<byte[]>
The standard Hibernate type for mappingbyte[]
to JDBCVECTOR_INT8
, specifically for embedding integer vectors (8-bits) like provided by Oracle 23ai.static final BasicTypeReference<Boolean>
static final BasicTypeReference<ZoneOffset>
The standard Hibernate type for mappingZoneOffset
to JDBCVARCHAR
.static final BasicTypeReference<ZonedDateTime>
The standard Hibernate type for mappingZonedDateTime
to JDBCTIMESTAMP_WITH_TIMEZONE
orTIMESTAMP
depending on the "hibernate.timezone.default_storage" setting.static final BasicTypeReference<ZonedDateTime>
The standard Hibernate type for mappingZonedDateTime
to JDBCTIMESTAMP_WITH_TIMEZONE
.static final BasicTypeReference<ZonedDateTime>
The standard Hibernate type for mappingZonedDateTime
to JDBCTIMESTAMP
. -
Method Summary
-
Field Details
-
BOOLEAN
-
NUMERIC_BOOLEAN
-
TRUE_FALSE
-
YES_NO
-
BYTE
-
SHORT
-
INTEGER
-
LONG
-
FLOAT
-
DOUBLE
-
BIG_INTEGER
The standard Hibernate type for mappingBigInteger
to JDBCNUMERIC
. -
BIG_DECIMAL
The standard Hibernate type for mappingBigDecimal
to JDBCNUMERIC
. -
CHARACTER
-
CHARACTER_NCHAR
-
STRING
-
NSTRING
-
CHAR_ARRAY
The standard Hibernate type for mappingchar[]
to JDBCVARCHAR
. -
CHARACTER_ARRAY
The standard Hibernate type for mappingCharacter[]
to JDBCVARCHAR
. -
TEXT
-
NTEXT
The standard Hibernate type for mappingString
to JDBCLONGNVARCHAR
.Similar to a
MATERIALIZED_NCLOB
-
CLOB
- See Also:
-
NCLOB
- See Also:
-
MATERIALIZED_CLOB
- See Also:
-
MATERIALIZED_NCLOB
- See Also:
-
MATERIALIZED_CLOB_CHAR_ARRAY
The standard Hibernate type for mappingchar[]
to JDBCCLOB
.- See Also:
-
MATERIALIZED_CLOB_CHARACTER_ARRAY
The standard Hibernate type for mappingCharacter[]
to JDBCCLOB
.- See Also:
-
MATERIALIZED_NCLOB_CHAR_ARRAY
The standard Hibernate type for mappingchar[]
to JDBCNCLOB
.- See Also:
-
MATERIALIZED_NCLOB_CHARACTER_ARRAY
The standard Hibernate type for mappingCharacter[]
to JDBCNCLOB
and- See Also:
-
DURATION
-
LOCAL_DATE_TIME
The standard Hibernate type for mappingLocalDateTime
to JDBCTIMESTAMP
. -
LOCAL_DATE
-
LOCAL_TIME
-
OFFSET_DATE_TIME
The standard Hibernate type for mappingOffsetDateTime
to JDBCTIMESTAMP_WITH_TIMEZONE
orTIMESTAMP
depending on the "hibernate.timezone.default_storage" setting. -
OFFSET_DATE_TIME_WITH_TIMEZONE
The standard Hibernate type for mappingOffsetDateTime
to JDBCTIMESTAMP_WITH_TIMEZONE
. This maps toTimeZoneStorageStrategy.NATIVE
. -
OFFSET_DATE_TIME_WITHOUT_TIMEZONE
The standard Hibernate type for mappingOffsetDateTime
to JDBCTIMESTAMP
. This maps toTimeZoneStorageStrategy.NORMALIZE
. -
OFFSET_TIME
The standard Hibernate type for mappingOffsetTime
to JDBCTIME_WITH_TIMEZONE
. -
OFFSET_TIME_UTC
The standard Hibernate type for mappingOffsetTime
to JDBCTIME_UTC
. This maps toTimeZoneStorageStrategy.NORMALIZE_UTC
. -
OFFSET_TIME_WITH_TIMEZONE
The standard Hibernate type for mappingOffsetTime
to JDBCTIME_WITH_TIMEZONE
. This maps toTimeZoneStorageStrategy.NATIVE
. -
OFFSET_TIME_WITHOUT_TIMEZONE
The standard Hibernate type for mappingOffsetTime
to JDBCTIME
. -
ZONED_DATE_TIME
The standard Hibernate type for mappingZonedDateTime
to JDBCTIMESTAMP_WITH_TIMEZONE
orTIMESTAMP
depending on the "hibernate.timezone.default_storage" setting. -
ZONED_DATE_TIME_WITH_TIMEZONE
The standard Hibernate type for mappingZonedDateTime
to JDBCTIMESTAMP_WITH_TIMEZONE
. This maps toTimeZoneStorageStrategy.NATIVE
. -
ZONED_DATE_TIME_WITHOUT_TIMEZONE
The standard Hibernate type for mappingZonedDateTime
to JDBCTIMESTAMP
. This maps toTimeZoneStorageStrategy.NORMALIZE
. -
INSTANT
The standard Hibernate type for mappingInstant
to JDBCTIMESTAMP_UTC
. -
TIME
-
DATE
-
TIMESTAMP
-
CALENDAR
-
CALENDAR_DATE
-
CALENDAR_TIME
-
BINARY
The standard Hibernate type for mappingbyte[]
to JDBCVARBINARY
. -
BINARY_WRAPPER
-
IMAGE
The standard Hibernate type for mappingbyte[]
to JDBCLONGVARBINARY
.- See Also:
-
BLOB
- See Also:
-
MATERIALIZED_BLOB
The standard Hibernate type for mappingbyte[]
to JDBCBLOB
.- See Also:
-
MATERIALIZED_BLOB_WRAPPER
The standard Hibernate type for mappingByte[]
to JDBCBLOB
.- See Also:
-
SERIALIZABLE
The standard Hibernate type for mappingSerializable
to JDBCVARBINARY
.See especially the discussion wrt
ClassLoader
determination onSerializableType
-
OBJECT_TYPE
-
CLASS
-
LOCALE
-
CURRENCY
-
ZONE_OFFSET
The standard Hibernate type for mappingZoneOffset
to JDBCVARCHAR
. -
TIMEZONE
-
URL
-
UUID
-
UUID_BINARY
-
UUID_CHAR
-
ROW_VERSION
The standard Hibernate type for mappingbyte[]
to JDBCVARBINARY
, specifically for entity versions/timestamps. Only useful for T-SQL databases (MS, Sybase, etc) -
VECTOR
The standard Hibernate type for mappingfloat[]
to JDBCVECTOR
, specifically for embedding vectors like provided by the PostgreSQL extension pgvector and Oracle 23ai. -
VECTOR_INT8
The standard Hibernate type for mappingbyte[]
to JDBCVECTOR_INT8
, specifically for embedding integer vectors (8-bits) like provided by Oracle 23ai. -
VECTOR_FLOAT32
The standard Hibernate type for mappingfloat[]
to JDBCVECTOR
, specifically for embedding single-precision floating-point (32-bits) vectors like provided by Oracle 23ai. -
VECTOR_FLOAT64
The standard Hibernate type for mappingdouble[]
to JDBCVECTOR
, specifically for embedding double-precision floating-point (64-bits) vectors like provided by Oracle 23ai.
-
-
Method Details
-
prime
-