Package org.hibernate.type.descriptor.java
Integrates a range of types defined by the JDK with the type system
of Hibernate. Each Java type is described by an implementation of
JavaType
.
Certain important aspects related to the mutability or immutability
of a Java type are described by an associated
MutabilityPlan
. In particular,
the right MutabilityPlan
allows for correct dirty-checking and
destructured storage of values in the second-level cache.
See this discussion of the roles
JavaType
and MutabilityPlan
play in basic type mappings.
- See Also:
org.hibernate.type
,JavaType
,MutabilityPlan
-
Interface Summary Interface Description BasicJavaType<T> SpecializesJavaType
for "basic" values, in the sense ofType.PersistenceType.BASIC
.BasicPluralJavaType<T> Descriptor for a basic plural Java type.CoercionHelper.Coercer<T> JavaType<T> Descriptor for the Java side of a value mapping.JavaType.CoercionContext JavaTypedExpressible<T> Contract for something that has an associated JavaTypeMutabilityPlan<T> Describes the mutability aspects of a given Java type.MutabilityPlanExposer<T> Something that exposes a MutabilityPlanTemporalJavaType<T> Specialized JavaType for temporal types.UUIDJavaType.ValueTransformer VersionJavaType<T> Additional contract for types which may be used to version (and optimistic lock) data. -
Class Summary Class Description AbstractArrayJavaType<T,E> AbstractClassJavaType<T> Abstract adapter forJava type descriptors
.AbstractJavaType<T> Abstract adapter for Java type descriptors.AbstractTemporalJavaType<T> ArrayJavaType<T> Descriptor forT[]
handling.ArrayMutabilityPlan<T> A mutability plan for arrays.BigDecimalJavaType Descriptor forBigDecimal
handling.BigIntegerJavaType Descriptor forBigInteger
handling.BlobJavaType Descriptor forBlob
handling.BlobJavaType.BlobMutabilityPlan BooleanJavaType Descriptor forBoolean
handling.BooleanPrimitiveArrayJavaType Descriptor forboolean[]
handling.ByteArrayJavaType Descriptor forByte[]
handling, which disallowsnull
elements.ByteJavaType Descriptor forByte
handling.CalendarDateJavaType Descriptor forCalendar
handling, but just for the date (month, day, year) portion.CalendarJavaType Descriptor forCalendar
handling.CalendarJavaType.CalendarMutabilityPlan CalendarTimeJavaType Descriptor forCalendar
handling, but just for the time portion.CharacterArrayJavaType Descriptor forCharacter[]
handling, which disallowsnull
elements.CharacterJavaType Descriptor forCharacter
handling.ClassJavaType Descriptor forClass
handling.ClobJavaType Descriptor forClob
handling.ClobJavaType.ClobMutabilityPlan MutabilityPlan for Clob valuesClockHelper Helper for determining the correct clock for precisionCoercionHelper Helper for type coercions.ComponentArrayComparator Comparator for component arrays.CurrencyJavaType Descriptor forCurrency
handling.DataHelper A help for dealing with BLOB and CLOB dataDateJavaType Descriptor forDate
handling.DateJavaType.DateMutabilityPlan DoubleJavaType Descriptor forDouble
handling.DoublePrimitiveArrayJavaType Descriptor fordouble[]
handling.DurationJavaType Descriptor forDuration
, which is represented internally as (long seconds
,int nanoseconds
), approximately 28 decimal digits of precision.EnumJavaType<T extends Enum<T>> Describes a Javaenum
type.FloatJavaType Descriptor forFloat
handling.FloatPrimitiveArrayJavaType Descriptor forfloat[]
handling.Immutability Object-typed form ofImmutableMutabilityPlan
for easier use withMutability
for usersImmutableMutabilityPlan<T> Mutability plan for immutable objectsIncomparableComparator Comparator for things that cannot be compared (in a way we know about).InetAddressJavaType Descriptor forInetAddress
handling.InstantJavaType Java type descriptor for the JavaInstant
type.IntegerJavaType Descriptor forInteger
handling.IntegerPrimitiveArrayJavaType Descriptor forint[]
handling.JavaTypeHelper JdbcDateJavaType Descriptor forDate
handling.JdbcDateJavaType.DateMutabilityPlan JdbcTimeJavaType Descriptor forTime
handling.JdbcTimeJavaType.TimeMutabilityPlan JdbcTimestampJavaType Descriptor forTimestamp
handling.JdbcTimestampJavaType.TimestampMutabilityPlan LobStreamDataHelper A help for dealing with BLOB and CLOB dataLocalDateJavaType Java type descriptor for theLocalDate
type.LocalDateTimeJavaType Java type descriptor for theLocalDateTime
type.LocaleJavaType Descriptor forLocale
handling.LocaleJavaType.LocaleComparator LocalTimeJavaType Java type descriptor for theLocalTime
type.LongJavaType Descriptor forLong
handling.LongPrimitiveArrayJavaType Descriptor forlong[]
handling.MutableMutabilityPlan<T> Mutability plan for mutable objectsNClobJavaType Descriptor forNClob
handling.NClobJavaType.NClobMutabilityPlan ObjectArrayJavaType Descriptor forObject[]
handling, usually used for tuples.ObjectJavaType OffsetDateTimeJavaType Java type descriptor for theOffsetDateTime
type.OffsetTimeJavaType Java type descriptor for theOffsetTime
type.PrimitiveByteArrayJavaType Descriptor forbyte[]
handling.PrimitiveCharacterArrayJavaType Descriptor forchar[]
handling.RowVersionJavaType Deprecated. No longer usedSerializableJavaType<T extends Serializable> Descriptor for generalSerializable
handling.SerializableJavaType.SerializableMutabilityPlan<S extends Serializable> ShortJavaType Descriptor forShort
handling.ShortPrimitiveArrayJavaType Descriptor forshort[]
handling.StringJavaType Descriptor forString
handling.TimeZoneJavaType Descriptor forTimeZone
handling.TimeZoneJavaType.TimeZoneComparator UrlJavaType Descriptor forURL
handling.UUIDJavaType Descriptor forUUID
handling.UUIDJavaType.NoDashesStringTransformer UUIDJavaType.PassThroughTransformer UUIDJavaType.ToBytesTransformer UUIDJavaType.ToStringTransformer YearJavaType Describes theYear
Java typeZonedDateTimeJavaType Java type descriptor for theZonedDateTime
type.ZoneIdJavaType Describes theZoneId
Java type.ZoneOffsetJavaType Descriptor forZoneOffset
handling.ZoneOffsetJavaType.ZoneOffsetComparator -
Exception Summary Exception Description CoercionException