Class AbstractArrayJavaType<T,E>
- java.lang.Object
-
- org.hibernate.type.descriptor.java.AbstractClassJavaType<T>
-
- org.hibernate.type.descriptor.java.AbstractArrayJavaType<T,E>
-
- All Implemented Interfaces:
Serializable
,BasicJavaType<T>
,BasicPluralJavaType<E>
,JavaType<T>
- Direct Known Subclasses:
ArrayJavaType
,BooleanPrimitiveArrayJavaType
,DoublePrimitiveArrayJavaType
,FloatPrimitiveArrayJavaType
,IntegerPrimitiveArrayJavaType
,LongPrimitiveArrayJavaType
,ShortPrimitiveArrayJavaType
public abstract class AbstractArrayJavaType<T,E> extends AbstractClassJavaType<T> implements BasicPluralJavaType<E>
- 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 AbstractArrayJavaType(Class<T> clazz, BasicType<E> baseDescriptor, MutabilityPlan<T> mutabilityPlan)
AbstractArrayJavaType(Class<T> clazz, JavaType<E> baseDescriptor, MutabilityPlan<T> mutabilityPlan)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JavaType<E>
getElementJavaType()
Get the Java type descriptor for the element typeJdbcType
getRecommendedJdbcType(JdbcTypeIndicators indicators)
Obtain the "recommended"SQL type descriptor
for this Java type.BasicType<?>
resolveType(TypeConfiguration typeConfiguration, Dialect dialect, BasicType<E> elementType, ColumnTypeInformation columnTypeInformation, JdbcTypeIndicators stdIndicators)
Creates a container type for the given element type-
Methods inherited from class org.hibernate.type.descriptor.java.AbstractClassJavaType
areEqual, extractHashCode, extractLoggableRepresentation, getComparator, getJavaType, getJavaTypeClass, getMutabilityPlan, unknownUnwrap, unknownWrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.type.descriptor.java.BasicJavaType
fromString
-
Methods inherited from interface org.hibernate.type.descriptor.java.JavaType
appendEncodedString, coerce, createJavaType, createJavaType, fromEncodedString, getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getDefaultValue, getLongSqlLength, getReplacement, isInstance, isTemporalType, isWider, toString, unwrap, wrap
-
-
-
-
Method Detail
-
getElementJavaType
public JavaType<E> getElementJavaType()
Description copied from interface:BasicPluralJavaType
Get the Java type descriptor for the element type- Specified by:
getElementJavaType
in interfaceBasicPluralJavaType<T>
-
getRecommendedJdbcType
public JdbcType getRecommendedJdbcType(JdbcTypeIndicators indicators)
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>
- Parameters:
indicators
- Contextual information- Returns:
- The recommended SQL type descriptor
-
resolveType
public BasicType<?> resolveType(TypeConfiguration typeConfiguration, Dialect dialect, BasicType<E> elementType, ColumnTypeInformation columnTypeInformation, JdbcTypeIndicators stdIndicators)
Description copied from interface:BasicPluralJavaType
Creates a container type for the given element type- Specified by:
resolveType
in interfaceBasicPluralJavaType<T>
-
-