Class UUIDArrayType

All Implemented Interfaces:
org.hibernate.metamodel.mapping.BasicValuedMapping, org.hibernate.metamodel.mapping.Bindable, org.hibernate.metamodel.mapping.JdbcMappingContainer, org.hibernate.metamodel.mapping.MappingModelExpressible, org.hibernate.metamodel.mapping.SqlExpressible, org.hibernate.metamodel.mapping.ValueMapping, org.hibernate.metamodel.model.domain.DomainType<UUID[]>, org.hibernate.query.BindableType<UUID[]>, org.hibernate.query.sqm.SqmExpressible<UUID[]>, org.hibernate.type.descriptor.java.JavaTypedExpressible, org.hibernate.usertype.DynamicParameterizedType, org.hibernate.usertype.ParameterizedType, org.hibernate.usertype.UserType<UUID[]>

@Deprecated public class UUIDArrayType extends AbstractArrayType<UUID[]>
Deprecated.
Since version 6 Hibernate ORM supports ARRAY entity attributes
Maps an UUID[] array on a PostgreSQL ARRAY type. Multidimensional arrays are supported as well, as explained in this article.

For more details about how to use it, check out this article on vladmihalcea.com.

Author:
Rafael Acevedo
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.Bindable

    org.hibernate.metamodel.mapping.Bindable.JdbcValuesBiConsumer<X extends Object,Y extends Object>, org.hibernate.metamodel.mapping.Bindable.JdbcValuesConsumer

    Nested classes/interfaces inherited from interface org.hibernate.usertype.DynamicParameterizedType

    org.hibernate.usertype.DynamicParameterizedType.ParameterType
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final UUIDArrayType
    Deprecated.
     

    Fields inherited from class io.hypersistence.utils.hibernate.type.array.internal.AbstractArrayType

    SQL_ARRAY_TYPE

    Fields inherited from interface org.hibernate.usertype.DynamicParameterizedType

    ACCESS_TYPE, ENTITY, IS_DYNAMIC, IS_PRIMARY_KEY, PARAMETER_TYPE, PROPERTY, RETURNED_CLASS, XPROPERTY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
    Deprecated.
     
    UUIDArrayType(Class arrayClass)
    Deprecated.
     
    UUIDArrayType(org.hibernate.type.spi.TypeBootstrapContext typeBootstrapContext)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
     

    Methods inherited from class io.hypersistence.utils.hibernate.type.MutableDynamicParameterizedType

    setParameterValues

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hibernate.metamodel.mapping.BasicValuedMapping

    addToCacheKey, getJdbcMapping, getJdbcTypeCount, getSingleJdbcMapping

    Methods inherited from interface org.hibernate.metamodel.mapping.Bindable

    forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue

    Methods inherited from interface org.hibernate.metamodel.model.domain.DomainType

    getSqmType, getTupleLength

    Methods inherited from interface org.hibernate.query.sqm.SqmExpressible

    getRelationalJavaType, getTypeName, isInstance, resolveExpressible

    Methods inherited from interface org.hibernate.usertype.UserType

    getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getJdbcType, getValueConverter

    Methods inherited from interface org.hibernate.metamodel.mapping.ValueMapping

    treatAs
  • Field Details

    • INSTANCE

      public static final UUIDArrayType INSTANCE
      Deprecated.
  • Constructor Details

    • UUIDArrayType

      public UUIDArrayType()
      Deprecated.
    • UUIDArrayType

      public UUIDArrayType(Configuration configuration)
      Deprecated.
    • UUIDArrayType

      public UUIDArrayType(Class arrayClass)
      Deprecated.
    • UUIDArrayType

      public UUIDArrayType(org.hibernate.type.spi.TypeBootstrapContext typeBootstrapContext)
      Deprecated.
  • Method Details

    • getName

      public String getName()
      Deprecated.