Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.apache.torque.adapter.Adapter

Packages that use Adapter
org.apache.torque | Torque is an object-relational mapper for Java.
org.apache.torque.adapter | Adapters between Torque and various databases.
org.apache.torque.avalon | Avalon component implementation.
org.apache.torque.oid | The ID broker, an API to provide persistent object identifiers, as described by Scott Ambler's paper on "Enterprise-Ready Object IDs".
org.apache.torque.sql.objectbuilder | This package contains classes which can build PreparedStatementParts from a single value or column.
org.apache.torque.sql.whereclausebuilder | This package contains classes which can build PreparedStatementParts from a WhereClauseExpression.

Uses of Adapter in org.apache.torque

Methods in org.apache.torque that return Adapter
`Adapter` | `Database.getAdapter()` Returns the adapter to this database.
`static Adapter` | `Torque.getAdapter(String name)` Returns the database adapter for a specific database name.
`Adapter` | `TorqueInstance.getAdapter(String name)` Returns the database adapter for a specific database.
`static Adapter` | `Torque.getDB(String name)` Deprecated. use getAdapter(String) instead. This method will be removed in a future version of Torque.
`Adapter` | `TorqueInstance.getDB(String name)` Deprecated. use getAdapter(String) instead. This method will be removed in a future version of Torque.

Methods in org.apache.torque with parameters of type Adapter
`void` | `Database.setAdapter(Adapter anAdapter)` Sets the adapter for this database.

Uses of Adapter in org.apache.torque.adapter

Classes in org.apache.torque.adapter that implement Adapter
`class` | `AbstractAdapter` This class is the abstract base for any database adapter Support for new databases is added by subclassing this class and implementing its abstract methods, and by registering the new database adapter and its corresponding JDBC driver in the service configuration file.
`class` | `DerbyAdapter` This is used to connect to an embedded Apache Derby Database using the supplied JDBC driver.
`class` | `HsqldbAdapter` This is used to connect to Hsqldb databases.
`class` | `MssqlAdapter` This is used to connect to a MSSQL database.
`class` | `MysqlAdapter` This is used in order to connect to a MySQL database using the MM drivers.
`class` | `NoneAdapter` This DatabaseHandler is used when you do not have a database installed.
`class` | `OracleAdapter` This code should be used for an Oracle database pool.
`class` | `PostgresAdapter` This is used to connect to PostgresQL databases.

Methods in org.apache.torque.adapter that return Adapter
`static Adapter` | `AdapterFactory.autoDetectAdapter(Connection con)` Creates a new instance of the Torque database adapter based on the JDBC meta-data
`static Adapter` | `AdapterFactory.create(String key)` Creates a new instance of the Torque database adapter associated with the specified JDBC driver or adapter key.
`static Adapter` | `AdapterFactory.create(String key, String className)` Creates a new instance of the Torque database adapter associated with the specified JDBC driver or adapter key and the class defined.

Uses of Adapter in org.apache.torque.avalon

Methods in org.apache.torque.avalon that return Adapter
`Adapter` | `Torque.getAdapter(String name)` Returns database adapter for a specific connection pool.
`Adapter` | `Torque.getDB(String name)` Deprecated. use getAdapter(String) instead. This method will be removed in a future version of Torque.

Uses of Adapter in org.apache.torque.oid

Fields in org.apache.torque.oid declared as Adapter
`protected Adapter` | `AbstractIdGenerator.adapter` The adapter that knows the correct sql syntax

Methods in org.apache.torque.oid with parameters of type Adapter
`static IdGenerator` | `IDGeneratorFactory.create(Adapter adapter, String name)` Factory method which instantiates `IdGenerator` implementations based on the return value of the provided adapter's `getIDMethodType()` method.

Constructors in org.apache.torque.oid with parameters of type Adapter
`AbstractIdGenerator(Adapter adapter, String databaseName)` Creates an IdGenerator which will work with the specified database.
`AutoIncrementIdGenerator(Adapter adapter, String databaseName)` Creates an IdGenerator which will work with the specified database.
`SequenceIdGenerator(Adapter adapter, String databaseName)` Creates an IdGenerator which will work with the specified database.

Uses of Adapter in org.apache.torque.sql.objectbuilder

Methods in org.apache.torque.sql.objectbuilder with parameters of type Adapter
`PreparedStatementPart` | `ObjectPsPartBuilder.buildPs(Object toBuildFrom, boolean ignoreCase, Adapter adapter)` Builds a PreparedStatementPart from a single Object.
`PreparedStatementPart` | `ObjectOrColumnPsPartBuilder.buildPs(Object toBuildFrom, boolean ignoreCase, Adapter adapter)` Builds a PreparedStatementPart from a column or single value.

Uses of Adapter in org.apache.torque.sql.whereclausebuilder

Methods in org.apache.torque.sql.whereclausebuilder with parameters of type Adapter
`PreparedStatementPart` | `NullValueBuilder.buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Adapter adapter)` Builds a PreparedStatementPart from a WhereClauseExpression which rhs is null and which has one of the comparison opertator =, <>, or !=.
`PreparedStatementPart` | `StandardBuilder.buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Adapter adapter)` Builds a PreparedStatementPart from a WhereClauseExpression which RHS and LHS is a simple value.
`PreparedStatementPart` | `VerbatimSqlConditionBuilder.buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Adapter adapter)` Builds the PS part for a WhereClauseExpression with a verbatim SQL condition.
`PreparedStatementPart` | `CurrentDateTimePsPartBuilder.buildPs(WhereClauseExpression whereClauseExpression, boolean ignoreCase, Adapter adapter)` Builds a PreparedStatementPart from a WhereClauseExpression.
`PreparedStatementPart` | `WhereClausePsPartBuilder.buildPs(WhereClauseExpression whereClauseExpression, boolean ignoreCase, Adapter adapter)` Builds a PreparedStatementPart from a WhereClauseExpression.
`PreparedStatementPart` | `InBuilder.buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Adapter adapter)` Takes a columnName and criteria and builds a SQL 'IN' expression taking into account the ignoreCase flag.
`PreparedStatementPart` | `LikeBuilder.buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Adapter adapter)` Builds the PS part for a WhereClauseExpression with a LIKE operator.
`PreparedStatementPart` | `CustomBuilder.buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Adapter adapter)` Builds the PS part for a WhereClauseExpression with a `SqlEnum.CUSTOM` operator.
`boolean` | `NullValueBuilder.isApplicable(WhereClauseExpression whereClauseExpression, Adapter adapter)` Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.
`boolean` | `StandardBuilder.isApplicable(WhereClauseExpression whereClauseExpression, Adapter adapter)` Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.
`boolean` | `VerbatimSqlConditionBuilder.isApplicable(WhereClauseExpression whereClauseExpression, Adapter adapter)` Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.
`boolean` | `CurrentDateTimePsPartBuilder.isApplicable(WhereClauseExpression whereClauseExpression, Adapter adapter)` Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.
`boolean` | `WhereClausePsPartBuilder.isApplicable(WhereClauseExpression whereClauseExpression, Adapter adapter)` Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.
`boolean` | `InBuilder.isApplicable(WhereClauseExpression whereClauseExpression, Adapter adapter)` Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.
`boolean` | `LikeBuilder.isApplicable(WhereClauseExpression whereClauseExpression, Adapter adapter)` Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.
`boolean` | `CustomBuilder.isApplicable(WhereClauseExpression whereClauseExpression, Adapter adapter)` Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2000-2013 The Apache Software Foundation. All Rights Reserved.