Uses of Class
org.apache.torque.templates.typemapping.SqlType
Packages that use SqlType
Package
Description
This package contains classes that provide compatibility to a range of RDBM platforms.
Contains transformers and their helpers throughout the templates.
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 SqlTypeModifier and TypeMethodDescriptionPlatform.getSqlTypeForSchemaType(SchemaType schemaType) Returns the db specific SQL type for a Torque type.PlatformDefaultImpl.getSqlTypeForSchemaType(SchemaType schemaType) Methods in org.apache.torque.templates.platform with parameters of type SqlTypeModifier and TypeMethodDescriptionprotected voidPlatformDefaultImpl.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 SqlTypeModifier and TypeMethodDescriptionstatic SqlTypeSchemaTypeHelper.getDomain(SourceElement columnElement, ControllerState controllerState) static SqlTypeSchemaTypeHelper.getDomain(Column column, ControllerState controllerState) static SqlTypeSchemaTypeHelper.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 SqlTypeModifier and TypeMethodDescriptionstatic SqlTypeSchemaTypeHelper.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.typemappingModifier and TypeClassDescriptionclassSupports 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 SqlTypeModifier and TypeMethodDescriptionReturns a new instance with the given sqlTypeName, size, scale and default value.Constructors in org.apache.torque.templates.typemapping with parameters of type SqlType