Class BigintArrayUserType

  • All Implemented Interfaces:
    org.hibernate.usertype.UserType

    public class BigintArrayUserType
    extends AbstractArrayUserType
    A Hibernate user-defined type that maps to/from (Postgres) array column of type BIGINT mapping to the Java type Long[].
    • Constructor Detail

      • BigintArrayUserType

        public BigintArrayUserType()
    • Method Detail

      • databaseTypeName

        public String databaseTypeName()
        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
        Returns:
        always returns "bigint"
      • returnedClass

        public Class returnedClass()
        Returns:
        a class of type Long array