Interface BasicPluralJavaType<T>
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractArrayJavaType
,ArrayJavaType
,BasicCollectionJavaType
,BooleanPrimitiveArrayJavaType
,DoublePrimitiveArrayJavaType
,FloatPrimitiveArrayJavaType
,IntegerPrimitiveArrayJavaType
,LongPrimitiveArrayJavaType
,ShortPrimitiveArrayJavaType
Descriptor for a basic plural Java type.
A basic plural type represents a type, that is mapped to a single column instead of multiple rows.
This is used for array or collection types, that are backed by e.g. SQL array or JSON/XML DDL types.
The interface can be implemented by a plural java type e.g. BasicCollectionJavaType
and provides access to the element java type, as well as a hook to resolve the BasicType
based on the element BasicType
,
in order to gain enough information to implement storage and retrieval of the composite data type via JDBC.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGet the Java type descriptor for the element typeBasicType<?>
resolveType
(TypeConfiguration typeConfiguration, Dialect dialect, BasicType<T> elementType, ColumnTypeInformation columnTypeInformation, JdbcTypeIndicators stdIndicators) Creates a container type for the given element type
-
Method Details
-
getElementJavaType
Get the Java type descriptor for the element type -
resolveType
BasicType<?> resolveType(TypeConfiguration typeConfiguration, Dialect dialect, BasicType<T> elementType, ColumnTypeInformation columnTypeInformation, JdbcTypeIndicators stdIndicators) Creates a container type for the given element type
-