Class DateArrayType

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<Date[]>, org.hibernate.query.BindableType<Date[]>, org.hibernate.query.sqm.SqmExpressible<Date[]>, org.hibernate.type.descriptor.java.JavaTypedExpressible, org.hibernate.usertype.DynamicParameterizedType, org.hibernate.usertype.ParameterizedType, org.hibernate.usertype.UserType<Date[]>

@Deprecated public class DateArrayType extends AbstractArrayType<Date[]>
Deprecated.
Since version 6 Hibernate ORM supports ARRAY entity attributes.
Maps an Date[] array on a PostgreSQL date[] 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:
Guillaume Briand
  • 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 DateArrayType
    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.
     
    DateArrayType(Class arrayClass)
    Deprecated.
     
    DateArrayType(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 DateArrayType INSTANCE
      Deprecated.
  • Constructor Details

    • DateArrayType

      public DateArrayType()
      Deprecated.
    • DateArrayType

      public DateArrayType(Configuration configuration)
      Deprecated.
    • DateArrayType

      public DateArrayType(Class arrayClass)
      Deprecated.
    • DateArrayType

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

    • getName

      public String getName()
      Deprecated.