|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SqlType | |
---|---|
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 | |
---|---|
SqlType |
PlatformDefaultImpl.getSqlTypeForSchemaType(SchemaType schemaType)
|
SqlType |
Platform.getSqlTypeForSchemaType(SchemaType schemaType)
Returns the db specific SQL type for a Torque type. |
Methods in org.apache.torque.templates.platform with parameters of type SqlType | |
---|---|
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 | |
---|---|
static SqlType |
SchemaTypeHelper.getDomain(SourceElement columnElement,
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 | |
---|---|
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 | |
---|---|
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 | |
---|---|
SqlType |
SizedForBitDataSqlType.getNew(String size,
String scale,
String defaultValue)
Returns a new instance with the given sqlTypeName, size, scale and default value. |
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 | |
---|---|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |