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 FormatMapper
getFormatMapper
(TypeConfiguration typeConfiguration) getRecommendedJdbcType
(JdbcTypeIndicators context) Obtain the "recommended"SQL type descriptor
for this Java type.toString()
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 Details
-
XmlJavaType
public XmlJavaType(Type type, MutabilityPlan<T> mutabilityPlan, TypeConfiguration typeConfiguration)
-
-
Method Details
-
getFormatMapper
- Specified by:
getFormatMapper
in classFormatMapperBasedJavaType<T>
-
getRecommendedJdbcType
Description copied from interface:BasicJavaType
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 interfaceBasicJavaType<T>
- Specified by:
getRecommendedJdbcType
in interfaceJavaType<T>
- Overrides:
getRecommendedJdbcType
in classFormatMapperBasedJavaType<T>
- Parameters:
context
- Contextual information- Returns:
- The recommended SQL type descriptor
-
toString
-