org.castor.ddlgen.typeinfo
Interface TypeInfo
- AbstractType, LobType, NoParamType, NotSupportedType, OptionalLengthType, OptionalPrecisionDecimalsType, OptionalPrecisionType, RequiredLengthType, RequiredPrecisionType
public interface TypeInfo
Interface associates JDBC to SQL type and its parameters.
$Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
getJdbcType
public String getJdbcType()
Get JDBC type.
getSqlType
public String getSqlType()
Get SQL type.
toDDL
public String toDDL(Field field)
throws GeneratorException
Build DDL string with SQL type and parameters.
field
- The field to get specific parameters from.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com