Class BigintArrayUserType

java.lang.Object
org.kiwiproject.hibernate.usertype.AbstractArrayUserType<Long[]>
org.kiwiproject.hibernate.usertype.BigintArrayUserType
All Implemented Interfaces:
org.hibernate.usertype.UserType<Long[]>

@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 BigintArrayUserType extends AbstractArrayUserType<Long[]>
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 type BIGINT mapping to the Java type Long[].
  • Constructor Details

    • BigintArrayUserType

      public BigintArrayUserType()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • databaseTypeName

      public String databaseTypeName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: AbstractArrayUserType
      Implementors should return the specific database type name that the array contains, e.g. TEXT if the database array type is TEXT[].
      Specified by:
      databaseTypeName in class AbstractArrayUserType<Long[]>
      Returns:
      always returns "bigint"
    • returnedClass

      public Class<Long[]> returnedClass()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      a class of type Long array