com.vladmihalcea.hibernate.type.array.internal.DoubleArrayTypeDescriptor 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;
/**
* @author Vlad Mihalcea
*/
public class DoubleArrayTypeDescriptor
extends AbstractArrayTypeDescriptor {
public DoubleArrayTypeDescriptor() {
super(double[].class);
}
@Override
protected String getSqlArrayType() {
String sqlArrayType = super.getSqlArrayType();
return sqlArrayType != null ? sqlArrayType : "float8";
}
}