com.vladmihalcea.hibernate.type.array.internal.AbstractArrayType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-types-60 Show documentation
Show all versions of hibernate-types-60 Show documentation
Hibernate ORM 6.0 extra Types
package com.vladmihalcea.hibernate.type.array.internal;
import com.vladmihalcea.hibernate.type.MutableDynamicParameterizedType;
import com.vladmihalcea.hibernate.type.util.Configuration;
/**
* Base class for all ARRAY types.
*
* @author Vlad Mihalcea
*/
public abstract class AbstractArrayType
extends MutableDynamicParameterizedType> {
public static final String SQL_ARRAY_TYPE = "sql_array_type";
public AbstractArrayType(AbstractArrayTypeDescriptor arrayTypeDescriptor) {
super(
arrayTypeDescriptor.getJavaTypeClass(),
ArraySqlTypeDescriptor.INSTANCE,
arrayTypeDescriptor
);
}
public AbstractArrayType(AbstractArrayTypeDescriptor arrayTypeDescriptor, Configuration configuration) {
super(
arrayTypeDescriptor.getJavaTypeClass(),
ArraySqlTypeDescriptor.INSTANCE,
arrayTypeDescriptor,
configuration
);
}
}