com.vladmihalcea.hibernate.type.array.internal.BooleanArrayTypeDescriptor 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 [email protected]
* @version 2.9.13
*/
public class BooleanArrayTypeDescriptor extends AbstractArrayTypeDescriptor {
public BooleanArrayTypeDescriptor() {
super(boolean[].class);
}
@Override
protected String getSqlArrayType() {
String sqlArrayType = super.getSqlArrayType();
return sqlArrayType != null ? sqlArrayType : "boolean";
}
}