## Uses of Class
org.apache.torque.Database

- Packages that use Database
  Package | Description
  --- | ---
  org.apache.torque | Torque is an object-relational mapper for Java.
  org.apache.torque.avalon | Avalon component implementation.
  org.apache.torque.map | Description of the schema layout.
  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".

- - ### Uses of Database in org.apache.torque

    Methods in org.apache.torque that return Database
    Modifier and Type | Method and Description
    --- | ---
    `static Database` | Torque.`getDatabase(String name)` Returns the database for the given key.
    `Database` | TorqueInstance.`getDatabase(String databaseName)` Returns the database for the key `databaseName`.
    `static Database` | Torque.`getOrCreateDatabase(String name)` Returns the database for the key `databaseName`.
    `Database` | TorqueInstance.`getOrCreateDatabase(String databaseName)` Returns the database for the key `databaseName`.

    Methods in org.apache.torque that return types with arguments of type Database
    Modifier and Type | Method and Description
    --- | ---
    `static Map<String,Database>` | Torque.`getDatabases()` Returns a Map containing all Databases registered to Torque.
    `Map<String,Database>` | TorqueInstance.`getDatabases()` Returns a Map containing all Databases registered to Torque.

  - ### Uses of Database in org.apache.torque.avalon

    Methods in org.apache.torque.avalon that return Database
    Modifier and Type | Method and Description
    --- | ---
    `Database` | Torque.`getDatabase(String databaseName)` Returns the database for the key `databaseName`.
    `Database` | Torque.`getOrCreateDatabase(String databaseName)` Returns the database for the key `databaseName`.

    Methods in org.apache.torque.avalon that return types with arguments of type Database
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,Database>` | Torque.`getDatabases()` Returns a Map containing all Databases registered to Torque.

  - ### Uses of Database in org.apache.torque.map

    Constructors in org.apache.torque.map with parameters of type Database
    Constructor and Description
    `DatabaseMap(Database database)` Constructs a new DatabaseMap.

  - ### Uses of Database in org.apache.torque.oid

    Constructors in org.apache.torque.oid with parameters of type Database
    Constructor and Description
    `IDBroker(Database database)` Constructs an IdBroker for the given Database.

Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.