Class ArrayDdlTypeImpl
java.lang.Object
org.hibernate.type.descriptor.sql.internal.DdlTypeImpl
org.hibernate.type.descriptor.sql.internal.ArrayDdlTypeImpl
- All Implemented Interfaces:
Serializable,DdlType
- Author:
- Gavin King
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCastTypeName(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.getTypeName(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, replaceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.type.descriptor.sql.DdlType
getCastTypeName, getRawTypeNames, getTypeName
-
Constructor Details
-
ArrayDdlTypeImpl
-
-
Method Details
-
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:
-
getTypeName
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.
-