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
,DbTimestampJavaType
,DoubleJavaType
,DoublePrimitiveArrayJavaType
,DurationJavaType
,EntityJavaType
,EnumJavaType
,FloatJavaType
,FloatPrimitiveArrayJavaType
,GeolatteGeometryJavaType
,InetAddressJavaType
,InstantJavaType
,IntegerJavaType
,IntegerPrimitiveArrayJavaType
,JavaTypeBasicAdaptor
,JdbcDateJavaType
,JdbcTimeJavaType
,JdbcTimestampJavaType
,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
,YearJavaType
,ZonedDateTimeJavaType
,ZoneIdJavaType
,ZoneOffsetJavaType
public interface BasicJavaType<T> extends JavaType<T>
JavaType specialization for basic values
-
-
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
areEqual, coerce, createJavaType, createJavaType, extractHashCode, extractLoggableRepresentation, getCheckCondition, getComparator, getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getDefaultValue, getJavaType, getJavaTypeClass, getLongSqlLength, getMutabilityPlan, getReplacement, isInstance, isWider, toString, unwrap, wrap
-
-
-
-
Method Detail
-
getRecommendedJdbcType
default JdbcType getRecommendedJdbcType(JdbcTypeIndicators indicators)
Obtain the "recommended" SQL type descriptor for this Java type. The recommended aspect comes from the JDBC spec (mostly).- 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>
-
-