| 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".
|
| 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. |
| 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.
|
| 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. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Database> |
Torque.getDatabases()
Returns a Map containing all Databases registered to Torque.
|
| Constructor and Description |
|---|
DatabaseMap(Database database)
Constructs a new DatabaseMap.
|
| Constructor and Description |
|---|
IDBroker(Database database)
Constructs an IdBroker for the given Database.
|
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.