Package org.castor.ddlgen.typeinfo
Class NotSupportedType
- java.lang.Object
-
- org.castor.ddlgen.typeinfo.AbstractType
-
- org.castor.ddlgen.typeinfo.NotSupportedType
-
- All Implemented Interfaces:
TypeInfo
public final class NotSupportedType extends AbstractType
NotSupportedType is used for type not support by the database engine.- Since:
- 1.1
- Version:
- $Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
- Author:
- Le Duc Bao, Ralf Joachim
-
-
Field Summary
-
Fields inherited from class org.castor.ddlgen.typeinfo.AbstractType
PARAM_POSTFIX_DECIMALS, PARAM_POSTFIX_LENGTH, PARAM_POSTFIX_PRECISION, PARAM_PREFIX
-
-
Constructor Summary
Constructors Constructor Description NotSupportedType(java.lang.String jdbcType)
Constructor for NotSupportedType.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toDDL(Field field)
Build DDL string with SQL type and parameters.-
Methods inherited from class org.castor.ddlgen.typeinfo.AbstractType
getJdbcType, getSqlType, merge
-
-
-
-
Method Detail
-
toDDL
public java.lang.String toDDL(Field field) throws GeneratorException
Build DDL string with SQL type and parameters.- Parameters:
field
- The field to get specific parameters from.- Returns:
- Type string for DDL.
- Throws:
GeneratorException
- If required parameters is not defined.
-
-