Class ArrayDdlTypeImpl
- java.lang.Object
-
- org.hibernate.type.descriptor.sql.internal.DdlTypeImpl
-
- org.hibernate.type.descriptor.sql.internal.ArrayDdlTypeImpl
-
- All Implemented Interfaces:
Serializable,DdlType
public class ArrayDdlTypeImpl extends DdlTypeImpl
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ArrayDdlTypeImpl(Dialect dialect, boolean castRawElementType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCastTypeName(Size columnSize, SqlExpressible type, DdlTypeRegistry ddlTypeRegistry)Return the database type corresponding to the givenSqlExpressiblethat may be used as a target type in casting operations using the SQLCAST()function.StringgetTypeName(Size columnSize, Type type, DdlTypeRegistry ddlTypeRegistry)Return a type with length, precision, and scale specified by the given size object.-
Methods inherited from class org.hibernate.type.descriptor.sql.internal.DdlTypeImpl
getCastTypeName, getCastTypeName, getRawTypeName, getSqlTypeCode, getTypeName, isLob, replace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.type.descriptor.sql.DdlType
getCastTypeName, getRawTypeNames, getTypeName
-
-
-
-
Constructor Detail
-
ArrayDdlTypeImpl
public ArrayDdlTypeImpl(Dialect dialect, boolean castRawElementType)
-
-
Method Detail
-
getCastTypeName
public String getCastTypeName(Size columnSize, SqlExpressible type, DdlTypeRegistry ddlTypeRegistry)
Description copied from interface:DdlTypeReturn the database type corresponding to the givenSqlExpressiblethat may be used as a target type in casting operations using the SQLCAST()function. The length is usually chosen to be the maximum possible length for the dialect.- Returns:
- The SQL type name
- See Also:
JavaType.getDefaultSqlScale(Dialect, JdbcType),JavaType.getDefaultSqlPrecision(Dialect, JdbcType),Dialect.getMaxVarcharLength()
-
getTypeName
public String getTypeName(Size columnSize, Type type, DdlTypeRegistry ddlTypeRegistry)
Description copied from interface:DdlTypeReturn a type with length, precision, and scale specified by the given size object. The given type may be used to determine additional aspects of the returned SQL type.
-
-