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 org.hibernate.type.descriptor.java.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 descriptorfor this Java type.toString()Methods inherited from class org.hibernate.type.descriptor.java.spi.FormatMapperBasedJavaType
assemble, deepCopy, disassemble, fromString, getMutabilityPlan, isMutable, toString, unwrap, wrapMethods inherited from class org.hibernate.type.descriptor.java.AbstractJavaType
areEqual, extractHashCode, extractLoggableRepresentation, getComparator, getJavaType, unknownUnwrap, unknownWrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.type.descriptor.java.JavaType
appendEncodedString, coerce, createJavaType, 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 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
-
toString
-