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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.type.descriptor.java.JavaType
JavaType.CoercionContext
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractArrayJavaType
(Class<T> clazz, JavaType<E> baseDescriptor, MutabilityPlan<T> mutabilityPlan) -
Method Summary
Modifier and TypeMethodDescriptionGet the Java type descriptor for the element typegetRecommendedJdbcType
(JdbcTypeIndicators indicators) Obtain the "recommended"SQL type descriptor
for this Java type.boolean
Determines if this Java type is wider than the given Java type, that is, if the given type can be safely widened to this type.BasicType<?>
resolveType
(TypeConfiguration typeConfiguration, Dialect dialect, BasicType<E> elementType, ColumnTypeInformation columnTypeInformation, JdbcTypeIndicators stdIndicators) Creates a container type for the given element typeMethods 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, fromEncodedString, getCheckCondition, getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getDefaultValue, getLongSqlLength, getReplacement, getTypeName, isInstance, isTemporalType, toString, unwrap, useObjectEqualsHashCode, wrap
-
Constructor Details
-
AbstractArrayJavaType
-
-
Method Details
-
getElementJavaType
Description copied from interface:BasicPluralJavaType
Get the Java type descriptor for the element type- Specified by:
getElementJavaType
in interfaceBasicPluralJavaType<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>
- Parameters:
indicators
- Contextual information- Returns:
- The recommended SQL type descriptor
-
isWider
Description copied from interface:JavaType
Determines if this Java type is wider than the given Java type, that is, if the given type can be safely widened to this type. -
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>
-