Package org.hibernate.type
Class StandardBasicTypes
java.lang.Object
org.hibernate.type.StandardBasicTypes
References to common
BasicTypeReference instances- Author:
- Gavin King, Steve Ebersole
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BasicTypeReference<BigDecimal>The standard Hibernate type for mappingBigDecimalto JDBCNUMERIC.static final BasicTypeReference<BigInteger>The standard Hibernate type for mappingBigIntegerto 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 mappingInstantto JDBCTIMESTAMP_UTC.static final BasicTypeReference<Integer>static final BasicTypeReference<LocalDate>static final BasicTypeReference<LocalDateTime>The standard Hibernate type for mappingLocalDateTimeto 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 JDBCNCLOBandstatic final BasicTypeReference<NClob>static final BasicTypeReference<String>static final BasicTypeReference<String>The standard Hibernate type for mappingStringto JDBCLONGNVARCHAR.static final BasicTypeReference<Boolean>static final BasicTypeReference<Object>static final BasicTypeReference<OffsetDateTime>The standard Hibernate type for mappingOffsetDateTimeto JDBCTIMESTAMP_WITH_TIMEZONEorTIMESTAMPdepending on the "hibernate.timezone.default_storage" setting.static final BasicTypeReference<OffsetDateTime>The standard Hibernate type for mappingOffsetDateTimeto JDBCTIMESTAMP_WITH_TIMEZONE.static final BasicTypeReference<OffsetDateTime>The standard Hibernate type for mappingOffsetDateTimeto JDBCTIMESTAMP.static final BasicTypeReference<OffsetTime>The standard Hibernate type for mappingOffsetTimeto JDBCTIME_WITH_TIMEZONE.static final BasicTypeReference<OffsetTime>The standard Hibernate type for mappingOffsetTimeto JDBCTIME_UTC.static final BasicTypeReference<OffsetTime>The standard Hibernate type for mappingOffsetTimeto JDBCTIME_WITH_TIMEZONE.static final BasicTypeReference<OffsetTime>The standard Hibernate type for mappingOffsetTimeto 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 mappingSerializableto JDBCVARBINARY.static final BasicTypeReference<Short>static final BasicTypeReference<String>static final BasicTypeReference<String>The standard Hibernate type for mappingStringto 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<Byte[]>Deprecated, for removal: This API element is subject to removal in a future version.static final BasicTypeReference<Boolean>static final BasicTypeReference<ZoneOffset>The standard Hibernate type for mappingZoneOffsetto JDBCVARCHAR.static final BasicTypeReference<ZonedDateTime>The standard Hibernate type for mappingZonedDateTimeto JDBCTIMESTAMP_WITH_TIMEZONEorTIMESTAMPdepending on the "hibernate.timezone.default_storage" setting.static final BasicTypeReference<ZonedDateTime>The standard Hibernate type for mappingZonedDateTimeto JDBCTIMESTAMP_WITH_TIMEZONE.static final BasicTypeReference<ZonedDateTime>The standard Hibernate type for mappingZonedDateTimeto 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 mappingBigIntegerto JDBCNUMERIC. -
BIG_DECIMAL
The standard Hibernate type for mappingBigDecimalto 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 mappingStringto 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 JDBCNCLOBand- See Also:
-
DURATION
-
LOCAL_DATE_TIME
The standard Hibernate type for mappingLocalDateTimeto JDBCTIMESTAMP. -
LOCAL_DATE
-
LOCAL_TIME
-
OFFSET_DATE_TIME
The standard Hibernate type for mappingOffsetDateTimeto JDBCTIMESTAMP_WITH_TIMEZONEorTIMESTAMPdepending on the "hibernate.timezone.default_storage" setting. -
OFFSET_DATE_TIME_WITH_TIMEZONE
The standard Hibernate type for mappingOffsetDateTimeto JDBCTIMESTAMP_WITH_TIMEZONE. This maps toTimeZoneStorageStrategy.NATIVE. -
OFFSET_DATE_TIME_WITHOUT_TIMEZONE
The standard Hibernate type for mappingOffsetDateTimeto JDBCTIMESTAMP. This maps toTimeZoneStorageStrategy.NORMALIZE. -
OFFSET_TIME
The standard Hibernate type for mappingOffsetTimeto JDBCTIME_WITH_TIMEZONE. -
OFFSET_TIME_UTC
The standard Hibernate type for mappingOffsetTimeto JDBCTIME_UTC. This maps toTimeZoneStorageStrategy.NORMALIZE_UTC. -
OFFSET_TIME_WITH_TIMEZONE
The standard Hibernate type for mappingOffsetTimeto JDBCTIME_WITH_TIMEZONE. This maps toTimeZoneStorageStrategy.NATIVE. -
OFFSET_TIME_WITHOUT_TIMEZONE
The standard Hibernate type for mappingOffsetTimeto JDBCTIME. -
ZONED_DATE_TIME
The standard Hibernate type for mappingZonedDateTimeto JDBCTIMESTAMP_WITH_TIMEZONEorTIMESTAMPdepending on the "hibernate.timezone.default_storage" setting. -
ZONED_DATE_TIME_WITH_TIMEZONE
The standard Hibernate type for mappingZonedDateTimeto JDBCTIMESTAMP_WITH_TIMEZONE. This maps toTimeZoneStorageStrategy.NATIVE. -
ZONED_DATE_TIME_WITHOUT_TIMEZONE
The standard Hibernate type for mappingZonedDateTimeto JDBCTIMESTAMP. This maps toTimeZoneStorageStrategy.NORMALIZE. -
INSTANT
The standard Hibernate type for mappingInstantto JDBCTIMESTAMP_UTC. -
TIME
-
DATE
-
TIMESTAMP
-
CALENDAR
-
CALENDAR_DATE
-
CALENDAR_TIME
-
BINARY
The standard Hibernate type for mappingbyte[]to JDBCVARBINARY. -
BINARY_WRAPPER
-
WRAPPER_BINARY
Deprecated, for removal: This API element is subject to removal in a future version.useBINARY_WRAPPERinstead -
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 mappingSerializableto JDBCVARBINARY.See especially the discussion wrt
ClassLoaderdetermination onSerializableType -
OBJECT_TYPE
-
CLASS
-
LOCALE
-
CURRENCY
-
ZONE_OFFSET
The standard Hibernate type for mappingZoneOffsetto 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
-
BINARY_WRAPPERinstead