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
public interface BasicJavaType<T> extends JavaType<T>
SpecializesJavaType
for "basic" values, in the sense ofType.PersistenceType.BASIC
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.type.descriptor.java.JavaType
JavaType.CoercionContext
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default 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 Detail
-
getRecommendedJdbcType
default JdbcType getRecommendedJdbcType(JdbcTypeIndicators indicators)
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
default T fromString(CharSequence string)
- Specified by:
fromString
in interfaceJavaType<T>
-
-