Uses of Class
org.apache.torque.templates.typemapping.SqlType
-
Packages that use SqlType Package Description org.apache.torque.templates.platform This package contains classes that provide compatibility to a range of RDBM platforms.org.apache.torque.templates.transformer Contains transformers and their helpers throughout the templates.org.apache.torque.templates.typemapping Contains transformers and their helpers for the generation of SQL files. -
-
Uses of SqlType in org.apache.torque.templates.platform
Methods in org.apache.torque.templates.platform that return SqlType Modifier and Type Method Description SqlType
Platform. getSqlTypeForSchemaType(SchemaType schemaType)
Returns the db specific SQL type for a Torque type.SqlType
PlatformDefaultImpl. getSqlTypeForSchemaType(SchemaType schemaType)
Methods in org.apache.torque.templates.platform with parameters of type SqlType Modifier and Type Method Description protected void
PlatformDefaultImpl. setSchemaTypeToSqlTypeMapping(SchemaType schemaType, SqlType sqlType)
Adds a mapping to the torque schema type -> sql type map. -
Uses of SqlType in org.apache.torque.templates.transformer
Methods in org.apache.torque.templates.transformer that return SqlType Modifier and Type Method Description static SqlType
SchemaTypeHelper. getDomain(SourceElement columnElement, ControllerState controllerState)
static SqlType
SchemaTypeHelper. getDomain(Column column, ControllerState controllerState)
static SqlType
SchemaTypeHelper. getSqlType(SchemaType schemaType, SqlType domainType, ControllerState controllerState, String size, String scale, String defaultValue)
Returns the SQL type for a schema type and the specified target database.Methods in org.apache.torque.templates.transformer with parameters of type SqlType Modifier and Type Method Description static SqlType
SchemaTypeHelper. getSqlType(SchemaType schemaType, SqlType domainType, ControllerState controllerState, String size, String scale, String defaultValue)
Returns the SQL type for a schema type and the specified target database. -
Uses of SqlType in org.apache.torque.templates.typemapping
Subclasses of SqlType in org.apache.torque.templates.typemapping Modifier and Type Class Description class
SizedForBitDataSqlType
Supports the Derby / DB2 / SQL92 standard for defining Binary data fields with either CHAR(#) FOR BIT DATA or VARCHAR(#) FOR BIT DATA.Methods in org.apache.torque.templates.typemapping that return SqlType Modifier and Type Method Description SqlType
SizedForBitDataSqlType. getNew(String size, String scale, String defaultValue)
SqlType
SqlType. getNew(String size, String scale, String defaultValue)
Returns a new instance with the given sqlTypeName, size, scale and default value.Constructors in org.apache.torque.templates.typemapping with parameters of type SqlType Constructor Description SizedForBitDataSqlType(SqlType sqlType, String size, String scale, String defaultValue)
SqlType(SqlType sqlType, String size, String scale, String defaultValue)
Creates a new SqlType by copying another sql type.
-