Interface BasicJavaType<T>
- All Superinterfaces:
JavaType<T>
,Serializable
- All Known Subinterfaces:
PrimitiveJavaType<J>
,TemporalJavaType<T>
- All Known Implementing Classes:
AbstractArrayJavaType
,AbstractClassJavaType
,AbstractJavaType
,AbstractTemporalJavaType
,ArrayJavaType
,BasicCollectionJavaType
,BigDecimalJavaType
,BigIntegerJavaType
,BlobJavaType
,BooleanJavaType
,BooleanPrimitiveArrayJavaType
,ByteArrayJavaType
,ByteJavaType
,CalendarDateJavaType
,CalendarJavaType
,CalendarTimeJavaType
,CharacterArrayJavaType
,CharacterJavaType
,ClassJavaType
,ClobJavaType
,CollectionJavaType
,CurrencyJavaType
,DateJavaType
,DoubleJavaType
,DoublePrimitiveArrayJavaType
,DurationJavaType
,EmbeddableAggregateJavaType
,EntityJavaType
,EnumJavaType
,FloatJavaType
,FloatPrimitiveArrayJavaType
,FormatMapperBasedJavaType
,GeolatteGeometryJavaType
,InetAddressJavaType
,InstantJavaType
,IntegerJavaType
,IntegerPrimitiveArrayJavaType
,JavaTypeBasicAdaptor
,JdbcDateJavaType
,JdbcTimeJavaType
,JdbcTimestampJavaType
,JsonJavaType
,JTSGeometryJavaType
,LocalDateJavaType
,LocalDateTimeJavaType
,LocaleJavaType
,LocalTimeJavaType
,LongJavaType
,LongPrimitiveArrayJavaType
,MapEntryJavaType
,NClobJavaType
,ObjectArrayJavaType
,ObjectJavaType
,OffsetDateTimeJavaType
,OffsetTimeJavaType
,PrimitiveByteArrayJavaType
,PrimitiveCharacterArrayJavaType
,RowVersionJavaType
,SerializableJavaType
,ShortJavaType
,ShortPrimitiveArrayJavaType
,StringJavaType
,TimeZoneJavaType
,UnknownBasicJavaType
,UrlJavaType
,UserTypeJavaTypeWrapper
,UserTypeVersionJavaTypeWrapper
,UUIDJavaType
,XmlJavaType
,YearJavaType
,ZonedDateTimeJavaType
,ZoneIdJavaType
,ZoneOffsetJavaType
Specializes
JavaType
for "basic" values, in the sense of
Type.PersistenceType.BASIC
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.type.descriptor.java.JavaType
JavaType.CoercionContext
-
Method Summary
Modifier and TypeMethodDescriptiondefault T
fromString
(CharSequence string) default JdbcType
getRecommendedJdbcType
(JdbcTypeIndicators indicators) Obtain the "recommended"SQL type descriptor
for this Java type.Methods inherited from interface org.hibernate.type.descriptor.java.JavaType
appendEncodedString, areEqual, coerce, createJavaType, createJavaType, extractHashCode, extractLoggableRepresentation, fromEncodedString, getCheckCondition, getComparator, getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getDefaultValue, getJavaType, getJavaTypeClass, getLongSqlLength, getMutabilityPlan, getReplacement, getTypeName, isInstance, isTemporalType, isWider, toString, unwrap, useObjectEqualsHashCode, wrap
-
Method Details
-
getRecommendedJdbcType
Obtain the "recommended"SQL type descriptor
for this Java type. Often, but not always, the source of this recommendation is the JDBC specification.- Specified by:
getRecommendedJdbcType
in interfaceJavaType<T>
- Parameters:
indicators
- Contextual information- Returns:
- The recommended SQL type descriptor
-
fromString
- Specified by:
fromString
in interfaceJavaType<T>
-