Class AbstractArrayUserType<T>
java.lang.Object
org.kiwiproject.hibernate.usertype.AbstractArrayUserType<T>
- All Implemented Interfaces:
org.hibernate.usertype.UserType<T>
- Direct Known Subclasses:
BigintArrayUserType,TextArrayUserType
@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 abstract class AbstractArrayUserType<T>
extends Object
implements org.hibernate.usertype.UserType<T>
Deprecated, for removal: This API element is subject to removal in a future version.
Replaced by native arrary support in Hibernate
Abstract base class for custom Hibernate user-defined array types.
- Implementation Note:
- Suppress Sonar "'throws' declarations should not be superfluous" warning since the signatures come directly from UserType, and we are just preserving them.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionassemble(Serializable cached, Object owner) Deprecated, for removal: This API element is subject to removal in a future version.abstract StringDeprecated, 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.disassemble(Object value) Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.nullSafeGet(ResultSet resultSet, int position, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner) Deprecated, for removal: This API element is subject to removal in a future version.voidnullSafeSet(PreparedStatement statement, Object value, int index, org.hibernate.engine.spi.SharedSessionContractImplementor session) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Methods 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, returnedClass
-
Constructor Details
-
AbstractArrayUserType
public AbstractArrayUserType()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.Implementors should return the specific database type name that the array contains, e.g.TEXTif the database array type isTEXT[].- Returns:
- the database type name
-
getSqlType
public int getSqlType()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getSqlTypein interfaceorg.hibernate.usertype.UserType<T>
-
equals
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
equalsin interfaceorg.hibernate.usertype.UserType<T>- Throws:
org.hibernate.HibernateException
-
hashCode
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
hashCodein interfaceorg.hibernate.usertype.UserType<T>- Throws:
org.hibernate.HibernateException
-
deepCopy
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
deepCopyin interfaceorg.hibernate.usertype.UserType<T>- Throws:
org.hibernate.HibernateException
-
isMutable
public boolean isMutable()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isMutablein interfaceorg.hibernate.usertype.UserType<T>
-
disassemble
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
disassemblein interfaceorg.hibernate.usertype.UserType<T>- Throws:
org.hibernate.HibernateException
-
assemble
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
assemblein interfaceorg.hibernate.usertype.UserType<T>- Throws:
org.hibernate.HibernateException
-
replace
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
replacein interfaceorg.hibernate.usertype.UserType<T>- Throws:
org.hibernate.HibernateException
-