|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TorqueException | |
org.apache.torque | |
org.apache.torque.avalon | Avalon component implementation. |
org.apache.torque.dsfactory | Torque's API for creation of various javax.sql.DataSource implementations. |
org.apache.torque.manager | A manager/factory API for use with Torque-generated data beans. |
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". |
org.apache.torque.om | API for the classic Torque-generated object model. |
org.apache.torque.util | Misc. |
Uses of TorqueException in org.apache.torque |
Subclasses of TorqueException in org.apache.torque | |
class |
NoRowsException
This exception indicates that no rows were returned but atleast one should have been returned. |
class |
TooManyRowsException
This exception indicates that more rows were returned than expected. |
Methods in org.apache.torque that throw TorqueException | |
static void |
Torque.init(java.lang.String configFile)
Initialization of Torque with a properties file. |
static void |
Torque.init(org.apache.commons.configuration.Configuration conf)
Initialization of Torque with a properties file. |
static DatabaseMap |
Torque.getDatabaseMap()
Returns the default database map information. |
static DatabaseMap |
Torque.getDatabaseMap(java.lang.String name)
Returns the database map information. |
static java.sql.Connection |
Torque.getConnection()
This method returns a Connection from the default pool. |
static java.sql.Connection |
Torque.getConnection(java.lang.String name)
This method returns a Connecton using the given database name. |
static java.sql.Connection |
Torque.getConnection(java.lang.String name,
java.lang.String username,
java.lang.String password)
This method returns a Connecton using the given parameters. |
static DB |
Torque.getDB(java.lang.String name)
Returns database adapter for a specific connection pool. |
void |
Torque.configure(org.apache.commons.configuration.Configuration conf)
configure torque |
void |
Torque.initialize()
initialize Torque |
void |
TorqueInstance.init(java.lang.String configFile)
Initialization of Torque with a properties file. |
void |
TorqueInstance.init(org.apache.commons.configuration.Configuration conf)
Initialization of Torque with a properties file. |
protected void |
TorqueInstance.initManagerMappings(org.apache.commons.configuration.Configuration conf)
Creates a mapping between classes and their manager classes. |
DatabaseMap |
TorqueInstance.getDatabaseMap()
Returns the default database map information. |
DatabaseMap |
TorqueInstance.getDatabaseMap(java.lang.String name)
Returns the database map information. |
java.sql.Connection |
TorqueInstance.getConnection()
This method returns a Connection from the default pool. |
java.sql.Connection |
TorqueInstance.getConnection(java.lang.String name)
|
java.sql.Connection |
TorqueInstance.getConnection(java.lang.String name,
java.lang.String username,
java.lang.String password)
This method returns a Connecton using the given parameters. |
DB |
TorqueInstance.getDB(java.lang.String name)
Returns database adapter for a specific connection pool. |
Uses of TorqueException in org.apache.torque.avalon |
Methods in org.apache.torque.avalon that throw TorqueException | |
DatabaseMap |
TorqueComponent.getDatabaseMap()
Returns the default database map information. |
DatabaseMap |
TorqueComponent.getDatabaseMap(java.lang.String name)
Returns the database map information. |
java.sql.Connection |
TorqueComponent.getConnection()
This method returns a Connection from the default pool. |
java.sql.Connection |
TorqueComponent.getConnection(java.lang.String name)
|
java.sql.Connection |
TorqueComponent.getConnection(java.lang.String name,
java.lang.String username,
java.lang.String password)
This method returns a Connecton using the given parameters. |
DB |
TorqueComponent.getDB(java.lang.String name)
Returns database adapter for a specific connection pool. |
Uses of TorqueException in org.apache.torque.dsfactory |
Methods in org.apache.torque.dsfactory that throw TorqueException | |
void |
SharedPoolDataSourceFactory.initialize(org.apache.commons.configuration.Configuration configuration)
|
javax.sql.DataSource |
JndiDataSourceFactory.getDataSource()
|
void |
JndiDataSourceFactory.initialize(org.apache.commons.configuration.Configuration configuration)
|
void |
TorqueDataSourceFactory.initialize(org.apache.commons.configuration.Configuration configuration)
Deprecated. |
protected TorqueClassicDataSource |
TorqueDataSourceFactory.initTorqueClassic(org.apache.commons.configuration.Configuration configuration)
Deprecated. Initializes the TorqueClassicDataSource. |
void |
PerUserPoolDataSourceFactory.initialize(org.apache.commons.configuration.Configuration configuration)
|
protected void |
AbstractDataSourceFactory.applyConfiguration(org.apache.commons.configuration.Configuration c,
java.lang.Object o)
Iterate over a Configuration subset and apply all properties to a passed object which must contain Bean setter and getter |
protected javax.sql.ConnectionPoolDataSource |
AbstractDataSourceFactory.initCPDS(org.apache.commons.configuration.Configuration configuration)
Initializes the ConnectionPoolDataSource. |
javax.sql.DataSource |
DataSourceFactory.getDataSource()
|
void |
DataSourceFactory.initialize(org.apache.commons.configuration.Configuration configuration)
Initialize the factory. |
Uses of TorqueException in org.apache.torque.manager |
Methods in org.apache.torque.manager that throw TorqueException | |
protected java.lang.Object |
NoOpMethodResultCache.putImpl(MethodCacheKey key,
java.lang.Object value)
|
protected java.lang.Object |
NoOpMethodResultCache.removeImpl(MethodCacheKey key)
|
protected java.lang.Object |
MethodResultCache.putImpl(MethodCacheKey key,
java.lang.Object value)
|
protected java.lang.Object |
MethodResultCache.removeImpl(MethodCacheKey key)
|
void |
AbstractBaseManager.setClassName(java.lang.String v)
Set the classname to instantiate for getInstance() |
protected Persistent |
AbstractBaseManager.getOMInstance(ObjectKey id)
Return an instance of an om based on the id |
protected Persistent |
AbstractBaseManager.getOMInstance(ObjectKey key,
boolean fromCache)
Return an instance of an om based on the id |
protected void |
AbstractBaseManager.clearImpl()
|
protected Persistent |
AbstractBaseManager.removeInstanceImpl(java.io.Serializable key)
|
protected Persistent |
AbstractBaseManager.putInstanceImpl(Persistent om)
|
protected Persistent |
AbstractBaseManager.putInstanceImpl(java.io.Serializable key,
Persistent om)
|
protected abstract Persistent |
AbstractBaseManager.retrieveStoredOM(ObjectKey id)
|
protected java.util.List |
AbstractBaseManager.getOMs(ObjectKey[] ids)
Gets a list of om's based on id's. |
protected java.util.List |
AbstractBaseManager.getOMs(java.util.List ids)
Gets a list of om's based on id's. |
protected java.util.List |
AbstractBaseManager.getOMs(java.util.List ids,
boolean fromCache)
Gets a list of om's based on id's. |
protected abstract java.util.List |
AbstractBaseManager.retrieveStoredOMs(java.util.List ids)
|
void |
AbstractBaseManager.setRegion(java.lang.String v)
Set the value of region. |
Constructors in org.apache.torque.manager that throw TorqueException | |
NoOpMethodResultCache(org.apache.jcs.access.GroupCacheAccess cache)
|
|
MethodResultCache(org.apache.jcs.access.GroupCacheAccess cache)
|
Uses of TorqueException in org.apache.torque.oid |
Methods in org.apache.torque.oid that throw TorqueException | |
boolean |
IDBroker.exists(java.lang.String tableName)
Describe exists method here. |
Uses of TorqueException in org.apache.torque.om |
Methods in org.apache.torque.om that throw TorqueException | |
void |
BaseObject.setPrimaryKey(java.lang.String primaryKey)
Sets the PrimaryKey for the object. |
void |
BaseObject.setPrimaryKey(SimpleKey[] primaryKey)
Sets the PrimaryKey for the object as an Object. |
void |
BaseObject.setPrimaryKey(ObjectKey primaryKey)
Sets the PrimaryKey for the object as an Object. |
abstract void |
ObjectKey.setValue(java.lang.String s)
Reset the underlying object using a String. |
Uses of TorqueException in org.apache.torque.util |
Methods in org.apache.torque.util that throw TorqueException | |
static java.lang.String |
SqlExpression.build(java.lang.String columnName,
java.lang.Object criteria,
SqlEnum comparison)
Builds a simple SQL expression. |
static java.lang.String |
SqlExpression.build(java.lang.String columnName,
java.lang.Object criteria,
SqlEnum comparison,
boolean ignoreCase,
DB db)
Builds a simple SQL expression. |
static void |
LimitHelper.buildLimit(Criteria criteria,
Query query)
Update the Query object according to the limiting information available in the Criteria |
static java.sql.Connection |
Transaction.begin(java.lang.String dbName)
Begin a transaction. |
static java.sql.Connection |
Transaction.beginOptional(java.lang.String dbName,
boolean useTransaction)
Begin a transaction. |
static void |
Transaction.commit(java.sql.Connection con)
Commit a transaction. |
static void |
Transaction.rollback(java.sql.Connection con)
Roll back a transaction in databases that support transactions. |
static byte[] |
BasePeer.hashtableToByteArray(java.util.Hashtable hash)
Converts a hashtable to a byte array for storage/serialization. |
static void |
BasePeer.deleteAll(java.sql.Connection con,
java.lang.String table,
java.lang.String column,
int value)
Convenience method that uses straight JDBC to delete multiple rows. |
static void |
BasePeer.deleteAll(java.lang.String table,
java.lang.String column,
int value)
Convenience method that uses straight JDBC to delete multiple rows. |
static void |
BasePeer.doDelete(Criteria criteria)
Method to perform deletes based on values and keys in a Criteria. |
static void |
BasePeer.doDelete(Criteria criteria,
java.sql.Connection con)
Method to perform deletes based on values and keys in a Criteria. |
static ObjectKey |
BasePeer.doInsert(Criteria criteria)
Method to perform inserts based on values and keys in a Criteria. |
static ObjectKey |
BasePeer.doInsert(Criteria criteria,
java.sql.Connection con)
Method to perform inserts based on values and keys in a Criteria. |
static java.lang.String |
BasePeer.createQueryString(Criteria criteria)
Method to create an SQL query for actual execution based on values in a Criteria. |
static java.util.List |
BasePeer.doSelect(Criteria criteria)
Returns all results. |
static java.util.List |
BasePeer.doSelect(Criteria criteria,
java.sql.Connection con)
Returns all results. |
static java.util.List |
BasePeer.executeQuery(java.lang.String queryString)
Utility method which executes a given sql statement. |
static java.util.List |
BasePeer.executeQuery(java.lang.String queryString,
java.lang.String dbName)
Utility method which executes a given sql statement. |
static java.util.List |
BasePeer.executeQuery(java.lang.String queryString,
java.lang.String dbName,
boolean singleRecord)
Method for performing a SELECT. |
static java.util.List |
BasePeer.executeQuery(java.lang.String queryString,
boolean singleRecord,
java.sql.Connection con)
Method for performing a SELECT. |
static java.util.List |
BasePeer.executeQuery(java.lang.String queryString,
int start,
int numberOfResults,
java.lang.String dbName,
boolean singleRecord)
Method for performing a SELECT. |
static java.util.List |
BasePeer.executeQuery(java.lang.String queryString,
int start,
int numberOfResults,
boolean singleRecord,
java.sql.Connection con)
Method for performing a SELECT. |
static java.util.List |
BasePeer.getSelectResults(com.workingdogs.village.QueryDataSet qds)
Returns all records in a QueryDataSet as a List of Record objects. |
static java.util.List |
BasePeer.getSelectResults(com.workingdogs.village.QueryDataSet qds,
boolean singleRecord)
Returns all records in a QueryDataSet as a List of Record objects. |
static java.util.List |
BasePeer.getSelectResults(com.workingdogs.village.QueryDataSet qds,
int numberOfResults,
boolean singleRecord)
Returns numberOfResults records in a QueryDataSet as a List of Record objects. |
static java.util.List |
BasePeer.getSelectResults(com.workingdogs.village.QueryDataSet qds,
int start,
int numberOfResults,
boolean singleRecord)
Returns numberOfResults records in a QueryDataSet as a List of Record objects. |
static void |
BasePeer.doUpdate(Criteria updateValues)
Convenience method used to update rows in the DB. |
static void |
BasePeer.doUpdate(Criteria updateValues,
java.sql.Connection con)
Convenience method used to update rows in the DB. |
static void |
BasePeer.doUpdate(Criteria selectCriteria,
Criteria updateValues)
Method used to update rows in the DB. |
static void |
BasePeer.doUpdate(Criteria selectCriteria,
Criteria updateValues,
java.sql.Connection con)
Method used to update rows in the DB. |
static int |
BasePeer.executeStatement(java.lang.String stmt)
Utility method which executes a given sql statement. |
static int |
BasePeer.executeStatement(java.lang.String stmt,
java.lang.String dbName)
Utility method which executes a given sql statement. |
static int |
BasePeer.executeStatement(java.lang.String stmt,
java.sql.Connection con)
Utility method which executes a given sql statement. |
protected static void |
BasePeer.handleMultipleRecords(com.workingdogs.village.DataSet ds)
If the user specified that (s)he only wants to retrieve a single record and multiple records are retrieved, this method is called to handle the situation. |
static MapBuilder |
BasePeer.getMapBuilder()
Deprecated. you have to specify the name of the map builder! |
static java.util.List |
BasePeer.doPSSelect(Criteria criteria,
java.sql.Connection con)
Performs a SQL select using a PreparedStatement. |
static java.util.List |
BasePeer.doPSSelect(Criteria criteria)
Do a Prepared Statement select according to the given criteria |
static void |
BasePeer.createPreparedStatement(Criteria criteria,
java.lang.StringBuffer queryString,
java.util.List params)
Create a new PreparedStatement. |
java.util.List |
LargeSelect.getPage(int pageNumber)
Retrieve a specific page, if it exists. |
java.util.List |
LargeSelect.getNextResults()
Gets the next page of rows. |
java.util.List |
LargeSelect.getPreviousResults()
Gets the previous page of rows. |
void |
LargeSelect.invalidateResult()
Clear the query result so that the query is reexecuted when the next page is retrieved. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |