| Package | Description | 
|---|---|
| org.apache.torque | Torque is an object-relational mapper for Java. | 
| org.apache.torque.dsfactory | Torque's API for creation of various javax.sql.DataSource
    implementations. | 
| Modifier and Type | Method and Description | 
|---|---|
| DataSourceFactory | Database. getDataSourceFactory()Returns the DataSourceFactory for this database. | 
| DataSourceFactory | TorqueInstance. getDataSourceFactory(String name)Returns the DataSourceFactory for the database with the name
  name. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Database. setDataSourceFactory(DataSourceFactory aDataSourceFactory)Sets the DataSourceFactory for this database. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractDataSourceFactoryA class that contains common functionality of the factories in this
 package. | 
| class  | JndiDataSourceFactoryA factory that looks up the DataSource from JNDI. | 
| class  | PerUserPool2DataSourceFactoryA factory that looks up the DataSource using the DBCP2 pool methods. | 
| class  | PerUserPoolDataSourceFactoryDeprecated.  | 
| class  | SharedPool2DataSourceFactoryA factory that looks up the DataSource using the DBCP2 pool methods. | 
| class  | SharedPoolDataSourceFactoryDeprecated.  | 
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.