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>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface JavaType
JavaType.CoercionContext -
Constructor Summary
ConstructorsConstructorDescriptionXmlJavaType(Type type, MutabilityPlan<T> mutabilityPlan, TypeConfiguration typeConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionprotected FormatMappergetFormatMapper(TypeConfiguration typeConfiguration) getRecommendedJdbcType(JdbcTypeIndicators context) Obtain the "recommended" SQL type descriptor for this Java type.toString()Methods inherited from class FormatMapperBasedJavaType
assemble, deepCopy, disassemble, fromString, getMutabilityPlan, isMutable, toString, unwrap, wrapMethods inherited from class AbstractJavaType
areEqual, extractHashCode, extractLoggableRepresentation, getComparator, getJavaType, unknownUnwrap, unknownWrapMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface JavaType
appendEncodedString, cast, coerce, createJavaType, fromEncodedString, fromEncodedString, getCheckCondition, getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getDefaultValue, getJavaTypeClass, getLongSqlLength, getReplacement, getTypeName, isInstance, isTemporalType, isWider, useObjectEqualsHashCode
-
Constructor Details
-
XmlJavaType
public XmlJavaType(Type type, MutabilityPlan<T> mutabilityPlan, TypeConfiguration typeConfiguration)
-
-
Method Details
-
getFormatMapper
- Specified by:
getFormatMapperin classFormatMapperBasedJavaType<T>
-
getRecommendedJdbcType
Description copied from interface:BasicJavaTypeObtain the "recommended" SQL type descriptor for 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
-
toString
-