Class ArrayConverter<T,S,E,F>
java.lang.Object
org.hibernate.type.descriptor.converter.internal.ArrayConverter<T,S,E,F>
- Type Parameters:
T- the unconverted array typeS- the converted array typeE- the unconverted element typeF- the converted element type
- All Implemented Interfaces:
BasicValueConverter<T,S>
Given a
BasicValueConverter for array elements, handles conversion
to and from an array of the converted element type.-
Constructor Summary
ConstructorsConstructorDescriptionArrayConverter(BasicValueConverter<E, F> elementConverter, JavaType<T> domainJavaType, JavaType<S> relationalJavaType) -
Method Summary
Modifier and TypeMethodDescriptionDescriptor for the Java type for the domain portion of this converterDescriptor for the Java type for the relational portion of this convertertoDomainValue(S relationalForm) Convert the relational form just retrieved from JDBC ResultSet into the domain form.toRelationalValue(T domainForm) Convert the domain form into the relational form in preparation for storage into JDBC
-
Constructor Details
-
ArrayConverter
-
-
Method Details
-
toDomainValue
Description copied from interface:BasicValueConverterConvert the relational form just retrieved from JDBC ResultSet into the domain form.- Specified by:
toDomainValuein interfaceBasicValueConverter<T,S>
-
toRelationalValue
Description copied from interface:BasicValueConverterConvert the domain form into the relational form in preparation for storage into JDBC- Specified by:
toRelationalValuein interfaceBasicValueConverter<T,S>
-
getDomainJavaType
Description copied from interface:BasicValueConverterDescriptor for the Java type for the domain portion of this converter- Specified by:
getDomainJavaTypein interfaceBasicValueConverter<T,S>
-
getRelationalJavaType
Description copied from interface:BasicValueConverterDescriptor for the Java type for the relational portion of this converter- Specified by:
getRelationalJavaTypein interfaceBasicValueConverter<T,S>
-