# Package org.apache.torque.adapter

package org.apache.torque.adapter
Adapters between Torque and various databases.

- Related Packages
  Package
  Description
  org.apache.torque
  Torque is an object-relational mapper for Java.
- Class
  Description
  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.
  Adapter
  `DB` defines the interface for a Torque database adapter.
  AdapterFactory
  This class creates different `Adapter` objects based on specified JDBC driver name.
  DerbyAdapter
  This is used to connect to an embedded Apache Derby Database using the supplied JDBC driver.
  HsqldbAdapter
  This is used to connect to Hsqldb databases.
  IDMethod
  Interface for various ID retrieval method types (i.e. auto-increment, sequence, ID broker, etc.).
  MssqlAdapter
  This is used to connect to a MSSQL database.
  MysqlAdapter
  This is used in order to connect to a MySQL database using the MM drivers.
  NoneAdapter
  This DatabaseHandler is used when you do not have a database installed.
  OracleAdapter
  This code should be used for an Oracle database pool.
  PostgresAdapter
  This is used to connect to PostgresQL databases.