| Package | Description | 
|---|---|
| org.apache.torque | Torque is an object-relational mapper for Java. | 
| org.apache.torque.adapter | Adapters between Torque and various databases. | 
| 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 | 
|---|---|
| void | Database. addIdGenerator(IDMethod type,
              IdGenerator idGen)Adds an IdGenerator to the database. | 
| IdGenerator | Database. getIdGenerator(IDMethod type)Returns the IdGenerator of the given type for this Database. | 
| Modifier and Type | Method and Description | 
|---|---|
| static IDMethod | IDMethod. getIdMethod(String idMethod)Returns the id method for a id method name. | 
| abstract IDMethod | AbstractAdapter. getIDMethodType()Returns the constant from the  IDMethodinterface denoting which
 type of primary key generation method this type of RDBMS uses. | 
| IDMethod | Adapter. getIDMethodType()Returns the constant from the  IDMethodinterface denoting which
 type of primary key generation method this type of RDBMS uses. | 
| IDMethod | DerbyAdapter. getIDMethodType() | 
| IDMethod | HsqldbAdapter. getIDMethodType() | 
| IDMethod | MssqlAdapter. getIDMethodType() | 
| IDMethod | MysqlAdapter. getIDMethodType() | 
| IDMethod | NoneAdapter. getIDMethodType() | 
| IDMethod | OracleAdapter. getIDMethodType() | 
| IDMethod | PostgresAdapter. getIDMethodType() | 
| static IDMethod | IDMethod. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static IDMethod[] | IDMethod. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method and Description | 
|---|---|
| IDMethod | TableMap. getPrimaryKeyMethod()Get the method used to generate primary keys for this table. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | TableMap. getPrimaryKeyMethodInfo(IDMethod idMethod)Get the information used to generate a primary key | 
| void | TableMap. setPrimaryKeyMethod(IDMethod method)Sets the method used to generate a key for this table. | 
| void | TableMap. setPrimaryKeyMethodInfo(IDMethod idMethod,
                       Object pkInfo)Sets the pk information needed to generate a key. | 
| Modifier and Type | Field and Description | 
|---|---|
| static List<IDMethod> | IDGeneratorFactory. ID_GENERATOR_METHODSThe list of ID generation method types which have associated
  IdGeneratorimplementations. | 
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.