Class LocalDateArrayType
java.lang.Object
io.hypersistence.utils.hibernate.type.MutableType<T,JDBC,JAVA>
io.hypersistence.utils.hibernate.type.MutableDynamicParameterizedType<T,ArraySqlTypeDescriptor,AbstractArrayTypeDescriptor<T>>
io.hypersistence.utils.hibernate.type.array.internal.AbstractArrayType<LocalDate[]>
io.hypersistence.utils.hibernate.type.array.LocalDateArrayType
- 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.query.BindableType<LocalDate[]>,org.hibernate.query.sqm.SqmExpressible<LocalDate[]>,org.hibernate.type.descriptor.java.JavaTypedExpressible,org.hibernate.usertype.DynamicParameterizedType,org.hibernate.usertype.ParameterizedType,org.hibernate.usertype.UserType<LocalDate[]>
Maps a
java.Time.LocalDate[] 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:
- Andrew Lazarus, based on DateArrayType by 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
FieldsFields inherited from class io.hypersistence.utils.hibernate.type.array.internal.AbstractArrayType
SQL_ARRAY_TYPEFields inherited from interface org.hibernate.usertype.DynamicParameterizedType
ACCESS_TYPE, ENTITY, IS_DYNAMIC, IS_PRIMARY_KEY, PARAMETER_TYPE, PROPERTY, RETURNED_CLASS, XPROPERTY -
Constructor Summary
ConstructorsConstructorDescriptionLocalDateArrayType(Configuration configuration) LocalDateArrayType(Class arrayClass) LocalDateArrayType(org.hibernate.type.spi.TypeBootstrapContext typeBootstrapContext) -
Method Summary
Methods inherited from class io.hypersistence.utils.hibernate.type.MutableDynamicParameterizedType
setParameterValuesMethods inherited from class io.hypersistence.utils.hibernate.type.MutableType
assemble, deepCopy, disassemble, disassemble, equals, forEachDisassembledJdbcValue, forEachJdbcType, getBindableJavaType, getConfiguration, getExpressibleJavaType, getJavaTypeDescriptor, getJdbcMapping, getJdbcTypeDescriptor, getMappedType, getSqlType, hashCode, isMutable, nullSafeGet, nullSafeSet, replace, returnedClassMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.metamodel.mapping.BasicValuedMapping
addToCacheKey, getJdbcMapping, getJdbcMappings, getJdbcTypeCount, getSingleJdbcMappingMethods inherited from interface org.hibernate.metamodel.mapping.Bindable
forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, forEachJdbcValue, forEachJdbcValue, forEachJdbcValueMethods inherited from interface org.hibernate.query.sqm.SqmExpressible
getRelationalJavaType, isInstance, resolveExpressibleMethods inherited from interface org.hibernate.usertype.UserType
getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getJdbcType, getValueConverterMethods inherited from interface org.hibernate.metamodel.mapping.ValueMapping
treatAs
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
LocalDateArrayType
public LocalDateArrayType() -
LocalDateArrayType
-
LocalDateArrayType
-
LocalDateArrayType
public LocalDateArrayType(org.hibernate.type.spi.TypeBootstrapContext typeBootstrapContext)
-
-
Method Details
-
getName
-