Class XmlJavaType<T>
- java.lang.Object
- org.hibernate.type.descriptor.java.AbstractJavaType<T>
- org.hibernate.type.descriptor.java.spi.FormatMapperBasedJavaType<T>
- org.hibernate.type.descriptor.java.spi.XmlJavaType<T>
- All Implemented Interfaces:
Serializable,BasicJavaType<T>,JavaType<T>,MutabilityPlan<T>
@Incubatingpublic classXmlJavaType<T>extendsFormatMapperBasedJavaType<T>
- See Also:
- Serialized Form
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.type.descriptor.java.JavaType
JavaType.CoercionContext
Constructor Summary
Constructors Constructor Description XmlJavaType(Type type,MutabilityPlan<T> mutabilityPlan,TypeConfiguration typeConfiguration)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protectedFormatMappergetFormatMapper(TypeConfiguration typeConfiguration)JdbcTypegetRecommendedJdbcType(JdbcTypeIndicators context)Obtain the "recommended"SQL type descriptorfor this Java type.StringtoString()Methods inherited from class org.hibernate.type.descriptor.java.spi.FormatMapperBasedJavaType
assemble,deepCopy,disassemble,fromString,getMutabilityPlan,isMutable,toString,unwrap,wrap
Methods inherited from class org.hibernate.type.descriptor.java.AbstractJavaType
areEqual,extractHashCode,extractLoggableRepresentation,getComparator,getJavaType,unknownUnwrap,unknownWrap
Methods inherited from class java.lang.Object
clone,equals,finalize,getClass,hashCode,notify,notifyAll,wait,wait,wait
Methods inherited from interface org.hibernate.type.descriptor.java.JavaType
appendEncodedString,coerce,createJavaType,createJavaType,fromEncodedString,getCheckCondition,getDefaultSqlLength,getDefaultSqlPrecision,getDefaultSqlScale,getDefaultValue,getJavaTypeClass,getLongSqlLength,getReplacement,getTypeName,isInstance,isTemporalType,isWider,useObjectEqualsHashCode
Constructor Detail
XmlJavaType
public XmlJavaType(Type type,MutabilityPlan<T> mutabilityPlan,TypeConfiguration typeConfiguration)
Method Detail
getFormatMapper
protected FormatMapper getFormatMapper(TypeConfiguration typeConfiguration)
- Specified by:
getFormatMapperin classFormatMapperBasedJavaType<T>
getRecommendedJdbcType
public JdbcType getRecommendedJdbcType(JdbcTypeIndicators context)
Description copied from interface:BasicJavaTypeObtain the "recommended"SQL type descriptorfor this Java type. Often, but not always, the source of this recommendation is the JDBC specification.- Specified by:
getRecommendedJdbcTypein interfaceBasicJavaType<T>- Specified by:
getRecommendedJdbcTypein interfaceJavaType<T>- Overrides:
getRecommendedJdbcTypein classFormatMapperBasedJavaType<T>- Parameters:
context- Contextual information- Returns:
- The recommended SQL type descriptor