Class TextArrayUserType
java.lang.Object
org.kiwiproject.hibernate.usertype.AbstractArrayUserType<String[]>
org.kiwiproject.hibernate.usertype.TextArrayUserType
- All Implemented Interfaces:
org.hibernate.usertype.UserType<String[]>
@Deprecated(since="3.4.0",
forRemoval=true)
@KiwiDeprecated(removeAt="4.0.0",
replacedBy="Native array support in Hibernate",
usageSeverity=SEVERE,
reference="https://github.com/kiwiproject/kiwi/issues/1117")
public class TextArrayUserType
extends AbstractArrayUserType<String[]>
Deprecated, for removal: This API element is subject to removal in a future version.
Replaced by native arrary support in Hibernate
A Hibernate user-defined type that maps to/from (Postgres) array column of a text type, e.g.
TEXT[]
or VARCHAR[], mapping to the Java type String[].-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Implementors should return the specific database type name that the array contains, e.g.Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.kiwiproject.hibernate.usertype.AbstractArrayUserType
assemble, deepCopy, disassemble, equals, getSqlType, hashCode, isMutable, nullSafeGet, nullSafeSet, replaceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.usertype.UserType
getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getJdbcType, getValueConverter
-
Constructor Details
-
TextArrayUserType
public TextArrayUserType()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
databaseTypeName
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractArrayUserTypeImplementors should return the specific database type name that the array contains, e.g.TEXTif the database array type isTEXT[].- Specified by:
databaseTypeNamein classAbstractArrayUserType<String[]>- Returns:
- always returns "text" even though the actual column type might be different, e.g. varchar
-
returnedClass
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- a class of type String array
-