Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

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

Packages that use TorqueException
org.apache.torque | Torque is an object-relational mapper for Java.
org.apache.torque.adapter | Adapters between Torque and various databases.
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.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".
org.apache.torque.om | API for the classic Torque-generated object model.
org.apache.torque.om.mapper | Contains the Mapper interface which defines how to map from a ResultSet to an object, and simple implementations of this interface.
org.apache.torque.sql | This package contains classes which are mainly used in the SQL generation process.
org.apache.torque.sql.objectbuilder | This package contains classes which can build PreparedStatementParts from a single value or column.
org.apache.torque.sql.whereclausebuilder | This package contains classes which can build PreparedStatementParts from a WhereClauseExpression.
org.apache.torque.util | Misc.

Uses of TorqueException in org.apache.torque

Subclasses of TorqueException in org.apache.torque
`class` | `ConstraintViolationException` This exception is thrown if a database operation violates a database constraint, e.g.
`class` | `DeadlockException` This exception is thrown if the database detects a deadlock.
`class` | `NoRowsException` This exception indicates that no rows were returned but at least one should have been returned.
`class` | `OptimisticLockingFailedException` This exception is thrown if the database detects that a row in a table with optimistic locking was updated by another process.
`class` | `TooManyRowsException` This exception indicates that more rows were returned than expected.

Methods in org.apache.torque that throw TorqueException
`static Adapter` | `Torque.getAdapter(String name)` Returns the database adapter for a specific database name.
`Adapter` | `TorqueInstance.getAdapter(String name)` Returns the database adapter for a specific database.
`static Connection` | `Torque.getConnection()` This method returns a Connection from the default pool.
`Connection` | `TorqueInstance.getConnection()` This method returns a Connection from the default pool.
`static Connection` | `Torque.getConnection(String name)` This method returns a Connecton using the given database name.
`Connection` | `TorqueInstance.getConnection(String name)` Returns a database connection to the database with the key `name`.
`static Connection` | `Torque.getConnection(String name, String username, String password)` This method returns a Connecton using the given parameters.
`Connection` | `TorqueInstance.getConnection(String name, String username, String password)` This method returns a Connection using the given parameters.
`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 DatabaseMap` | `Torque.getDatabaseMap()` Returns the default database map information.
`DatabaseMap` | `TorqueInstance.getDatabaseMap()` Returns the database map information for the default db.
`static DatabaseMap` | `Torque.getDatabaseMap(String name)` Returns the database map information for a given database.
`DatabaseMap` | `TorqueInstance.getDatabaseMap(String name)` Returns the database map information for the given database name.
`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.
`DataSourceFactory` | `TorqueInstance.getDataSourceFactory(String name)` Returns the DataSourceFactory for the database with the name `name`.
`static Adapter` | `Torque.getDB(String name)` Deprecated. use getAdapter(String) instead. This method will be removed in a future version of Torque.
`Adapter` | `TorqueInstance.getDB(String name)` Deprecated. use getAdapter(String) instead. This method will be removed in a future version of Torque.
`static String` | `Torque.getSchema(String name)` This method returns the current schema for a database connection
`String` | `TorqueInstance.getSchema(String name)` This method returns the current schema for a database connection
`static void` | `Torque.init(org.apache.commons.configuration.Configuration conf)` Initialization of Torque with a configuration.
`void` | `TorqueInstance.init(org.apache.commons.configuration.Configuration conf)` Initialization of Torque with a Configuration object.
`static void` | `Torque.init(String configFile)` Initialization of Torque with a path to a properties file.
`void` | `TorqueInstance.init(String configFile)` Initialization of Torque with a path to a properties file.
`protected void` | `TorqueInstance.initManagerMappings(org.apache.commons.configuration.Configuration conf)` Creates a mapping between classes and their manager classes.
`static void` | `Torque.setConfiguration(org.apache.commons.configuration.Configuration conf)` Sets the configuration for Torque and all dependencies.
`void` | `TorqueInstance.setConfiguration(org.apache.commons.configuration.Configuration conf)` Sets the configuration for Torque and all dependencies.
`static void` | `Torque.shutdown()` Shuts down the service.
`void` | `TorqueInstance.shutdown()` Shuts down Torque.

Uses of TorqueException in org.apache.torque.adapter

Methods in org.apache.torque.adapter that throw TorqueException
`void` | `AbstractAdapter.generateLimits(Query query, long offset, int limit)` This method is used to generate the database specific query extension to limit the number of record returned.
`void` | `Adapter.generateLimits(Query query, long offset, int limit)` This method is used to generate the database specific query extension to limit the number of record returned.
`void` | `MssqlAdapter.generateLimits(Query query, long offset, int limit)` Modify a query to add limit and offset values for Sybase.

Uses of TorqueException in org.apache.torque.avalon

Methods in org.apache.torque.avalon that throw TorqueException
`Adapter` | `Torque.getAdapter(String name)` Returns database adapter for a specific connection pool.
`Connection` | `Torque.getConnection()` This method returns a Connection from the default pool.
`Connection` | `Torque.getConnection(String name)`
`Connection` | `Torque.getConnection(String name, String username, String password)` This method returns a Connecton using the given parameters.
`Database` | `Torque.getDatabase(String databaseName)` Returns the database for the key `databaseName`.
`DatabaseMap` | `Torque.getDatabaseMap()` Returns the default database map information.
`DatabaseMap` | `Torque.getDatabaseMap(String name)` Returns the database map information.
`Map<String,Database>` | `Torque.getDatabases()` Returns a Map containing all Databases registered to Torque.
`Adapter` | `Torque.getDB(String name)` Deprecated. use getAdapter(String) instead. This method will be removed in a future version of Torque.
`String` | `Torque.getSchema(String name)` This method returns the current schema for a database connection
`void` | `Torque.setSchema(String name, String schema)` Sets the current schema for a database connection

Uses of TorqueException in org.apache.torque.dsfactory

Methods in org.apache.torque.dsfactory that throw TorqueException
`protected void` | `AbstractDataSourceFactory.applyConfiguration(org.apache.commons.configuration.Configuration c, Object o)` Iterate over a Configuration subset and apply all properties to a passed object which must contain Bean setter and getter
`void` | `PerUserPoolDataSourceFactory.close()` Closes the pool associated with this factory and releases it.
`void` | `SharedPoolDataSourceFactory.close()` Closes the pool associated with this factory and releases it.
`void` | `DataSourceFactory.close()` A hook which is called when the resources of the associated DataSource can be released.
`DataSource` | `JndiDataSourceFactory.getDataSource()`
`abstract DataSource` | `AbstractDataSourceFactory.getDataSource()`
`DataSource` | `DataSourceFactory.getDataSource()`
`protected ConnectionPoolDataSource` | `AbstractDataSourceFactory.initCPDS(org.apache.commons.configuration.Configuration configuration)` Initializes the ConnectionPoolDataSource.
`void` | `JndiDataSourceFactory.initialize(org.apache.commons.configuration.Configuration configuration)`
`void` | `PerUserPoolDataSourceFactory.initialize(org.apache.commons.configuration.Configuration configuration)`
`abstract void` | `AbstractDataSourceFactory.initialize(org.apache.commons.configuration.Configuration configuration)` Initialize the factory.
`void` | `SharedPoolDataSourceFactory.initialize(org.apache.commons.configuration.Configuration configuration)`
`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 void` | `AbstractBaseManager.clearImpl()` Clears the cache
`protected T` | `AbstractBaseManager.getOMInstance()` Get a fresh instance of an om
`protected T` | `AbstractBaseManager.getOMInstance(ObjectKey id)` Return an instance of an om based on the id
`protected T` | `AbstractBaseManager.getOMInstance(ObjectKey key, boolean fromCache)` Return an instance of an om based on the id
`protected List<T>` | `AbstractBaseManager.getOMs(List<? extends ObjectKey> ids)` Gets a list of om's based on id's.
`protected List<T>` | `AbstractBaseManager.getOMs(List<? extends ObjectKey> ids, boolean fromCache)` Gets a list of om's based on id's.
`protected List<T>` | `AbstractBaseManager.getOMs(ObjectKey[] ids)` Gets a list of om's based on id's.
`protected Object` | `NoOpMethodResultCache.putImpl(MethodCacheKey key, Object value)`
`protected Object` | `MethodResultCache.putImpl(MethodCacheKey key, Object value)`
`protected T` | `AbstractBaseManager.putInstanceImpl(Serializable key, T om)` Put an object into the cache
`protected T` | `AbstractBaseManager.putInstanceImpl(T om)` Put an object into the cache
`protected T` | `AbstractBaseManager.removeInstanceImpl(Serializable key)` Remove an object from the cache
`protected abstract T` | `AbstractBaseManager.retrieveStoredOM(ObjectKey id)` Retrieve an object from persistent storage
`protected abstract List<T>` | `AbstractBaseManager.retrieveStoredOMs(List<? extends ObjectKey> ids)` Gets a list of om's based on id's.
`void` | `AbstractBaseManager.setClassName(String v)` Set the classname to instantiate for getInstance()
`void` | `AbstractBaseManager.setRegion(String v)` Set the cache region used for JCS.

Uses of TorqueException in org.apache.torque.map

Methods in org.apache.torque.map that throw TorqueException
`static ColumnMap` | `MapHelper.getColumnMap(Column column, CriteriaInterface<?> criteria)` Returns the column map for a column.
`ColumnMap` | `TableMap.getPrimaryKey()` Returns the single primary key of this table, if it exists
`static TableMap` | `MapHelper.getTableMap(Object possibleColumn, CriteriaInterface<?> criteria, TableMap defaultTableMap)` Returns the table map for a table name.
`void` | `DatabaseMap.initialize()` Fully populate this DatabaseMap with all the TablesMaps.

Uses of TorqueException in org.apache.torque.oid

Methods in org.apache.torque.oid that throw TorqueException
`protected
`<T> T`
` | `AbstractIdGenerator.getId(Connection connection, Object keyInfo, RecordMapper<T> mapper)` Returns the last ID used by this connection.
`BigDecimal` | `AbstractIdGenerator.getIdAsBigDecimal(Connection connection, Object keyInfo)` Returns the last ID used by this connection.
`BigDecimal` | `IdGenerator.getIdAsBigDecimal(Connection connection, Object keyInfo)` Returns an id as a BigDecimal.
`BigDecimal` | `IDBroker.getIdAsBigDecimal(Connection connection, Object tableName)` Returns an id as a BigDecimal.
`int` | `AbstractIdGenerator.getIdAsInt(Connection connection, Object keyInfo)` Returns the last ID used by this connection.
`int` | `IdGenerator.getIdAsInt(Connection connection, Object keyInfo)` Returns an id as a primitive int.
`int` | `IDBroker.getIdAsInt(Connection connection, Object tableName)` Returns an id as a primitive int.
`long` | `AbstractIdGenerator.getIdAsLong(Connection connection, Object keyInfo)` Returns the last ID used by this connection.
`long` | `IdGenerator.getIdAsLong(Connection connection, Object keyInfo)` Returns an id as a primitive long.
`long` | `IDBroker.getIdAsLong(Connection connection, Object tableName)` Returns an id as a primitive long.
`String` | `AbstractIdGenerator.getIdAsString(Connection connection, Object keyInfo)` Returns the last ID used by this connection.
`String` | `IdGenerator.getIdAsString(Connection connection, Object keyInfo)` Returns an id as a String.
`String` | `IDBroker.getIdAsString(Connection connection, Object tableName)` Returns an id as a String.
`BigDecimal[]` | `IDBroker.getNextIds(String tableName, int numOfIdsToReturn, Connection connection)` This method returns x number of ids for the given table.
`protected void` | `IDBroker.updateQuantity(Connection con, String tableName, BigDecimal quantity)` Helper method to update a row in the ID_TABLE.

Uses of TorqueException in org.apache.torque.om

Methods in org.apache.torque.om that throw TorqueException
`boolean` | `ColumnAccessByName.setByName(String name, Object value)` Set a field in the object by field (Java) name.
`boolean` | `ColumnAccessByName.setByPeerName(String name, Object value)` Set field values by Peer Field Name-
`boolean` | `ColumnAccessByName.setByPosition(int position, Object value)` Set field values by it's position (zero based) in the XML schema.
`void` | `Persistent.setPrimaryKey(ObjectKey primaryKey)` Sets the PrimaryKey for the object.
`void` | `Persistent.setPrimaryKey(String primaryKey)` Sets the PrimaryKey for the object.
`abstract void` | `ObjectKey.setValue(String s)` Reset the underlying object using a String.

Uses of TorqueException in org.apache.torque.om.mapper

Methods in org.apache.torque.om.mapper that throw TorqueException
`Integer` | `IntegerMapper.processRow(ResultSet resultSet, int rowOffset, CriteriaInterface<?> criteria)` Maps the current row in the result set to a Integer.
`Long` | `LongMapper.processRow(ResultSet resultSet, int rowOffset, CriteriaInterface<?> criteria)` Maps the current row in the result set to a Long.
`BigDecimal` | `BigDecimalMapper.processRow(ResultSet resultSet, int rowOffset, CriteriaInterface<?> criteria)` Maps the current row in the result to a BigDecimal.
`T` | `RecordMapper.processRow(ResultSet resultSet, int rowOffset, CriteriaInterface<?> criteria)` Constructs the object from the current row in the resultSet.
`List<Object>` | `ObjectListMapper.processRow(ResultSet resultSet, int offset, CriteriaInterface<?> criteria)` Maps the current row in the result set by reading all columns from offset on to the end of the row and store an object for each column in the result.
`List<Object>` | `CompositeMapper.processRow(ResultSet resultSet, int offset, CriteriaInterface<?> criteria)` Maps the current row in the result Set by applying all known mappers and putting the result of each mapper in the result list.
`Date` | `DateMapper.processRow(ResultSet resultSet, int rowOffset, CriteriaInterface<?> criteria)` Maps the current row in the result set to a java.util.Date.
`String` | `StringMapper.processRow(ResultSet resultSet, int rowOffset, CriteriaInterface<?> criteria)` Maps the current row in the result set to a String.

Uses of TorqueException in org.apache.torque.sql

Methods in org.apache.torque.sql that throw TorqueException
`static Query` | `SqlBuilder.buildQuery(Criteria crit)` Deprecated. please use org.apache.torque.criteria.Criteria instead of org.apache.torque.util.Criteria.
`static Query` | `SqlBuilder.buildQuery(Criteria crit)` Builds a Query from a criteria.
`String` | `Query.getDisplayString()` Returns a String to display this query.
`static String` | `SqlBuilder.getFullTableName(String table, String dbName)` Fully qualify a table name with an optional schema reference.
`static TableMap` | `SqlBuilder.getTableMap(String tableName, String dbName)` Returns the table map for a table.
`static String` | `SqlBuilder.getUnqualifiedName(String name, String dbName)` Unqualify a table or column name.
`static String` | `SqlBuilder.guessFullTableFromCriteria(Criteria criteria)` Guesses a table name from a criteria by inspecting the first column in the criteria.
`static void` | `JoinBuilder.processJoins(CriteriaInterface<?> criteria, Query query)` Adds the Joins from the criteria to the query.

Uses of TorqueException in org.apache.torque.sql.objectbuilder

Methods in org.apache.torque.sql.objectbuilder that throw TorqueException
`PreparedStatementPart` | `ObjectPsPartBuilder.buildPs(Object toBuildFrom, boolean ignoreCase, Adapter adapter)` Builds a PreparedStatementPart from a single Object.
`PreparedStatementPart` | `ObjectOrColumnPsPartBuilder.buildPs(Object toBuildFrom, boolean ignoreCase, Adapter adapter)` Builds a PreparedStatementPart from a column or single value.

Uses of TorqueException in org.apache.torque.sql.whereclausebuilder

Methods in org.apache.torque.sql.whereclausebuilder that throw TorqueException
`PreparedStatementPart` | `NullValueBuilder.buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Adapter adapter)` Builds a PreparedStatementPart from a WhereClauseExpression which rhs is null and which has one of the comparison opertator =, <>, or !=.
`PreparedStatementPart` | `StandardBuilder.buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Adapter adapter)` Builds a PreparedStatementPart from a WhereClauseExpression which RHS and LHS is a simple value.
`PreparedStatementPart` | `VerbatimSqlConditionBuilder.buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Adapter adapter)` Builds the PS part for a WhereClauseExpression with a verbatim SQL condition.
`PreparedStatementPart` | `CurrentDateTimePsPartBuilder.buildPs(WhereClauseExpression whereClauseExpression, boolean ignoreCase, Adapter adapter)` Builds a PreparedStatementPart from a WhereClauseExpression.
`PreparedStatementPart` | `WhereClausePsPartBuilder.buildPs(WhereClauseExpression whereClauseExpression, boolean ignoreCase, Adapter adapter)` Builds a PreparedStatementPart from a WhereClauseExpression.
`PreparedStatementPart` | `InBuilder.buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Adapter adapter)` Takes a columnName and criteria and builds a SQL 'IN' expression taking into account the ignoreCase flag.
`PreparedStatementPart` | `LikeBuilder.buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Adapter adapter)` Builds the PS part for a WhereClauseExpression with a LIKE operator.
`PreparedStatementPart` | `CustomBuilder.buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Adapter adapter)` Builds the PS part for a WhereClauseExpression with a `SqlEnum.CUSTOM` operator.

Uses of TorqueException in org.apache.torque.util

Methods in org.apache.torque.util that return TorqueException
`abstract TorqueException` | `ExceptionMapper.toTorqueException(SQLException sqlException)` Maps a SQLException to an appropriate TorqueException.
`TorqueException` | `ExceptionMapperImpl.toTorqueException(SQLException sqlException)`

Methods in org.apache.torque.util that throw TorqueException
`void` | `Criteria.Criterion.appendTo(StringBuffer sb)` Appends a representation of the Criterion onto the buffer.
`static Connection` | `Transaction.begin()` Begin a transaction by retrieving a connection from the default database connection pool.
`Connection` | `TransactionManager.begin()` Begin a transaction by retrieving a connection from the default database connection pool.
`Connection` | `TransactionManagerImpl.begin()` Begin a transaction by retrieving a connection from the default database connection pool.
`static Connection` | `Transaction.begin(String dbName)` Begin a transaction by retrieving a connection from the named database connection pool.
`Connection` | `TransactionManager.begin(String dbName)` Begin a transaction by retrieving a connection from the named database connection pool.
`Connection` | `TransactionManagerImpl.begin(String dbName)` Begin a transaction by retrieving a connection from the named database connection pool.
`Criteria` | `SummaryHelper.buildCriteria(Criteria c)` Deprecated. please use buildCriteria(org.apache.torque.criteria.Criteria) instead. This method will be removed in a future version of Torque.
`Criteria` | `SummaryHelper.buildCriteria(Criteria c)` Builds the criteria to use in summarizing the information.
`static void` | `Transaction.commit(Connection con)` Commit a transaction and close the connection.
`void` | `TransactionManager.commit(Connection con)` Commit a transaction and close the connection.
`void` | `TransactionManagerImpl.commit(Connection con)` Commit a transaction and close the connection.
`void` | `BasePeerImpl.correctBooleans(ColumnValues columnValues)` Checks all columns in the criteria to see whether booleanchar and booleanint columns are queried with a boolean.
`static void` | `BasePeer.correctBooleans(ColumnValues columnValues)` Deprecated. Checks all columns in the criteria to see whether booleanchar and booleanint columns are queried with a boolean.
`void` | `BasePeerImpl.correctBooleans(Criteria criteria)` Deprecated. Please use correctBooleans( org.apache.torque.criteria.Criteria). This method will be removed in a future version of Torque.
`void` | `BasePeerImpl.correctBooleans(Criteria criteria)` Checks all columns in the criteria to see whether booleanchar and booleanint columns are queried with a boolean.
`static void` | `BasePeer.correctBooleans(Criteria criteria)` Deprecated. Please use correctBooleans( org.apache.torque.criteria.Criteria, TableMap). This method will be removed in a future version of Torque.
`static void` | `BasePeer.correctBooleans(Criteria criteria)` Deprecated. Checks all columns in the criteria to see whether booleanchar and booleanint columns are queried with a boolean.
`int` | `CountHelper.count(Criteria c)` Deprecated. use org.apache.torque.criteria.Criteria instead of org.apache.torque.util.Criteria. This method will be removed in Torque 4.1.
`int` | `CountHelper.count(Criteria c)` The COUNT function returns the number of rows in a query.
`int` | `CountHelper.count(Criteria c, Column column)` Deprecated. use org.apache.toraue.criteria.Criteria instead of org.apache.toraue.util.Criteria. This method will be removed in Torque 4.1.
`int` | `CountHelper.count(Criteria c, Column column)` Returns the number of rows in a query.
`int` | `CountHelper.count(Criteria c, Connection conn)` Deprecated. use org.apache.toraue.criteria.Criteria instead of org.apache.toraue.util.Criteria. This method will be removed in Torque 4.1.
`int` | `CountHelper.count(Criteria c, Connection conn)` The COUNT function returns the number of rows in a query.
`int` | `CountHelper.count(Criteria c, Connection conn, Column column)` Deprecated. use org.apache.toraue.criteria.Criteria instead of org.apache.toraue.util.Criteria. This method will be removed in Torque 4.1.
`int` | `CountHelper.count(Criteria c, Connection conn, Column column)` Returns the number of rows in a query.
`int` | `CountHelper.count(Criteria c, Connection conn, String columnName, TableMap tableMap)` Deprecated. use org.apache.toraue.criteria.Criteria instead of org.apache.toraue.util.Criteria. This method will be removed in Torque 4.1.
`int` | `CountHelper.count(Criteria c, Connection conn, String columnName, TableMap tableMap)` Returns the number of rows in a query.
`int` | `CountHelper.count(Criteria c, String columnName)` Deprecated. use org.apache.toraue.criteria.Criteria instead of org.apache.toraue.util.Criteria. This method will be removed in Torque 4.1.
`int` | `CountHelper.count(Criteria c, String columnName)` Returns the number of rows in a query.
`int` | `CountHelper.count(TableMap tableMap)` Counts all rows in a table.
`int` | `CountHelper.count(TableMap tableMap, Connection conn)` Counts all rows in a table.
`int` | `BasePeerImpl.deleteAll(Connection con, String table, String column, int value)` Deprecated. The value is not SQL escaped. Better use doDelete(Criteria, String, Connection) for automatic escaping and more flexibility. This method will be removed in a future version of Torque.
`static int` | `BasePeer.deleteAll(Connection con, String table, String column, int value)` Deprecated. The value is not SQL escaped. Better use doDelete(Criteria, String, Connection) for automatic escaping and more flexibility. This method will be removed in a future version of Torque.
`int` | `BasePeerImpl.deleteAll(String table, String column, int value)` Deprecated. The value is not SQL escaped. Better use doDelete(Criteria, String) for automatic escaping and more flexibility. This method will be removed in a future version of Torque.
`static int` | `BasePeer.deleteAll(String table, String column, int value)` Deprecated. The value is not SQL escaped. Better use doDelete(Criteria, String) for automatic escaping and more flexibility. This method will be removed in a future version of Torque.
`int` | `BasePeerImpl.doDelete(Criteria criteria)` Deletes rows from a database table.
`protected int` | `BasePeerImpl.doDelete(Criteria criteria)` Deprecated. This method causes unexpected results when joins are used. Please use doDelete( org.apache.torque.criteria.Criteria, TableMap). This method will be removed in a future version of Torque.
`static int` | `BasePeer.doDelete(Criteria criteria)` Deprecated. This method causes unexpected results when joins are used. Please use doDelete(org.apache.torque.criteria.Criteria, TableMap). This method will be removed in a future version of Torque.
`static int` | `BasePeer.doDelete(Criteria criteria)` Deprecated. This method causes unexpected results when joins are used. Please use doDelete( org.apache.torque.criteria.Criteria, TableMap). This method will be removed in a future version of Torque.
`int` | `BasePeerImpl.doDelete(Criteria criteria, Connection connection)` Deletes rows from a table.
`protected int` | `BasePeerImpl.doDelete(Criteria criteria, Connection con)` Deprecated. This method causes unexpected results when joins are used. Please use doDelete( org.apache.torque.criteria.Criteria, TableMap, Connection). This method will be removed in a future version of Torque.
`static int` | `BasePeer.doDelete(Criteria criteria, Connection con)` Deprecated. This method causes unexpected results when joins are used. Please use doDelete(org.apache.torque.criteria.Criteria, TableMap, Connection). This method will be removed in a future version of Torque.
`static int` | `BasePeer.doDelete(Criteria criteria, Connection con)` Deprecated. This method causes unexpected results when joins are used. Please use doDelete(org.apache.torque.criteria.Criteria, TableMap, Connection). This method will be removed in a future version of Torque.
`ObjectKey` | `BasePeerImpl.doInsert(ColumnValues insertValues)` Inserts a record into a database table.
`static ObjectKey` | `BasePeer.doInsert(ColumnValues insertValues)` Deprecated. Inserts a record into a database table.
`ObjectKey` | `BasePeerImpl.doInsert(ColumnValues insertValues, Connection connection)` Inserts a record into a database table.
`static ObjectKey` | `BasePeer.doInsert(ColumnValues insertValues, Connection connection)` Deprecated. Inserts a record into a database table.
`List<T>` | `BasePeerImpl.doSelect(Criteria criteria)` Deprecated. Please use doSelect(org.apache.torque.criteria.Criteria). This method will be removed in a future version of Torque.
`List<T>` | `BasePeerImpl.doSelect(Criteria criteria)` Selects objects from a database.
`List<T>` | `BasePeerImpl.doSelect(Criteria criteria, Connection connection)` Deprecated. Please use doSelect(org.apache.torque.criteria.Criteria, Connection). This method will be removed in a future version of Torque.
`List<T>` | `BasePeerImpl.doSelect(Criteria criteria, Connection connection)` Selects objects from a database within a transaction.
`static
`<T> List<T>`
` | `BasePeer.doSelect(Criteria criteria, RecordMapper<T> mapper)` Deprecated. Please use doSelect(org.apache.torque.criteria.Criteria, RecordMapper, TableMap). This method will be removed in a future version of Torque.
`static
`<T> List<T>`
` | `BasePeer.doSelect(Criteria criteria, RecordMapper<T> mapper)` Deprecated. Selects rows from a database an maps them to objects.
`static
`<T> List<T>`
` | `BasePeer.doSelect(Criteria criteria, RecordMapper<T> mapper, Connection connection)` Deprecated. Please use doSelect(org.apache.torque.criteria.Criteria, RecordMapper, TableMap, Connection). This method will be removed in a future version of Torque.
`static
`<T> List<T>`
` | `BasePeer.doSelect(Criteria criteria, RecordMapper<T> mapper, Connection connection)` Deprecated. Selects rows from a database an maps them to objects.
`
`<TT> List<TT>`
` | `BasePeerImpl.doSelect(Criteria criteria, RecordMapper<TT> mapper)` Deprecated. Please use doSelect(org.apache.torque.criteria.Criteria, RecordMapper). This method will be removed in a future version of Torque.
`
`<TT> List<TT>`
` | `BasePeerImpl.doSelect(Criteria criteria, RecordMapper<TT> mapper)` Selects rows from a database an maps them to objects.
`
`<TT> List<TT>`
` | `BasePeerImpl.doSelect(Criteria criteria, RecordMapper<TT> mapper, Connection connection)` Deprecated. Please use doSelect(org.apache.torque.criteria.Criteria, RecordMapper, Connection). This method will be removed in a future version of Torque.
`
`<TT> List<TT>`
` | `BasePeerImpl.doSelect(Criteria criteria, RecordMapper<TT> mapper, Connection connection)` Performs a SQL `select` using a PreparedStatement.
`List<T>` | `BasePeerImpl.doSelect(String query)` Selects rows from a database an maps them to objects.
`List<T>` | `BasePeerImpl.doSelect(String query, Connection connection)` Selects rows from a database an maps them to objects.
`static
`<T> List<T>`
` | `BasePeer.doSelect(String query, RecordMapper<T> mapper, Connection connection)` Deprecated. Selects rows from a database an maps them to objects.
`static
`<T> List<T>`
` | `BasePeer.doSelect(String query, RecordMapper<T> mapper, String dbName)` Deprecated. Selects rows from a database an maps them to objects.
`
`<TT> List<TT>`
` | `BasePeerImpl.doSelect(String query, RecordMapper<TT> mapper, Connection connection)` Selects rows from a database an maps them to objects.
`
`<TT> List<TT>`
` | `BasePeerImpl.doSelect(String query, RecordMapper<TT> mapper, String dbName)` Selects rows from a database an maps them to objects.
`T` | `BasePeerImpl.doSelectSingleRecord(Criteria criteria)` Selects at most one object from a database.
`T` | `BasePeerImpl.doSelectSingleRecord(Criteria criteria, Connection connection)` Selects at most one object from a database within a transaction.
`static
`<T> T`
` | `BasePeer.doSelectSingleRecord(Criteria criteria, RecordMapper<T> mapper)` Deprecated. Selects at most a single row from a database an maps them to objects.
`static
`<T> T`
` | `BasePeer.doSelectSingleRecord(Criteria criteria, RecordMapper<T> mapper, Connection connection)` Deprecated. Selects at most a single row from a database an maps them to objects.
`
`<TT> TT`
` | `BasePeerImpl.doSelectSingleRecord(Criteria criteria, RecordMapper<TT> mapper)` Selects at most a single row from a database an maps them to objects.
`
`<TT> TT`
` | `BasePeerImpl.doSelectSingleRecord(Criteria criteria, RecordMapper<TT> mapper, Connection connection)` Selects at most a single row from a database an maps them to objects.
`int` | `BasePeerImpl.doUpdate(ColumnValues updateValues)` Convenience method used to update rows in the DB.
`static int` | `BasePeer.doUpdate(ColumnValues updateValues)` Deprecated. Updates rows in the DB.
`int` | `BasePeerImpl.doUpdate(ColumnValues updateValues, Connection connection)` Convenience method used to update rows in the DB.
`static int` | `BasePeer.doUpdate(ColumnValues updateValues, Connection connection)` Deprecated. Updates rows in the DB.
`int` | `BasePeerImpl.doUpdate(Criteria selectCriteria, ColumnValues updateValues)` Deprecated. Please use doUpdate( org.apache.torque.criteria.Criteria, ColumnValues). This method will be removed in a future version of Torque.
`int` | `BasePeerImpl.doUpdate(Criteria selectCriteria, ColumnValues updateValues)` Executes an update against the database.
`static int` | `BasePeer.doUpdate(Criteria selectCriteria, ColumnValues updateValues)` Deprecated. Please use doUpdate( org.apache.torque.criteria.Criteria, ColumnValues). This method will be removed in a future version of Torque.
`static int` | `BasePeer.doUpdate(Criteria selectCriteria, ColumnValues updateValues)` Deprecated. Executes an update against the database.
`int` | `BasePeerImpl.doUpdate(Criteria criteria, ColumnValues updateValues, Connection connection)` Deprecated. Please use doUpdate(org.apache.torque.criteria.Criteria, ColumnValues, Connection). This method will be removed in a future version of Torque.
`int` | `BasePeerImpl.doUpdate(Criteria criteria, ColumnValues updateValues, Connection connection)` Executes an update against the database.
`static int` | `BasePeer.doUpdate(Criteria criteria, ColumnValues updateValues, Connection connection)` Deprecated. Please use doUpdate(org.apache.torque.criteria.Criteria, ColumnValues, Connection). This method will be removed in a future version of Torque.
`static int` | `BasePeer.doUpdate(Criteria criteria, ColumnValues updateValues, Connection connection)` Deprecated. Executes an update against the database.
`int` | `BasePeerImpl.executeStatement(String statementString)` Utility method which executes a given sql statement as prepared statement.
`static int` | `BasePeer.executeStatement(String statementString)` Deprecated. Utility method which executes a given SQL statement.
`static int` | `BasePeer.executeStatement(String statementString, Connection con)` Deprecated. Utility method which executes a given sql statement.
`int` | `BasePeerImpl.executeStatement(String statementString, Connection con, List<JdbcTypedValue> replacementValues)` Utility method which executes a given sql statement as prepared statement.
`int` | `BasePeerImpl.executeStatement(String statementString, List<JdbcTypedValue> replacementValues)` Utility method which executes a given sql statement as prepared statement.
`static int` | `BasePeer.executeStatement(String statementString, String dbName)` Deprecated. Utility method which executes a given sql statement.
`int` | `BasePeerImpl.executeStatement(String statementString, String dbName, List<JdbcTypedValue> replacementValues)` Utility method which executes a given sql statement as prepared statement.
`List<T>` | `LargeSelect.getCurrentPageResults()` Provide access to the results from the current page.
`int` | `LargeSelect.getCurrentPageSize()` Provides a count of the number of rows to be displayed on the current page - for the last page this may be less than the configured page size.
`String` | `BasePeerImpl.getDatabaseName()` Get the database name for this instance.
`int` | `LargeSelect.getLastRecordNoForPage()` Provide the record number of the last row included on the current page.
`List<T>` | `LargeSelect.getNextResults()` Gets the next page of rows.
`List<T>` | `LargeSelect.getPage(int pageNumber)` Retrieve a specific page, if it exists.
`List<T>` | `LargeSelect.getPreviousResults()` Gets the previous page of rows.
`RecordMapper<T>` | `BasePeerImpl.getRecordMapper()` Get the record mapper for this instance.
`String` | `LargeSelect.getRecordProgressText()` A convenience method that provides text showing progress through the selected rows on a record basis.
`TableMap` | `BasePeerImpl.getTableMap()` Get the default table map for this instance.
`void` | `LargeSelect.invalidateResult()` Clear the query result so that the query is reexecuted when the next page is retrieved.
`static void` | `Transaction.rollback(Connection con)` Roll back a transaction and release the connection.
`void` | `TransactionManager.rollback(Connection con)` Roll back a transaction and release the connection.
`void` | `TransactionManagerImpl.rollback(Connection con)` Roll back a transaction and release the connection.
`protected void` | `BasePeerImpl.setDbName(Criteria crit)` Sets the database name in the passed criteria to the table's default, if it is not already set.
`protected void` | `BasePeerImpl.setDbName(Criteria crit)` Deprecated. Please use addSelectColumns( org.apache.torque.criteria.Criteria). This method will be removed in a future version of Torque.
`List<ListOrderedMapCI>` | `SummaryHelper.summarize(Criteria crit)` Deprecated. please use summarize(org.apache.torque.criteria.Criteria) instead. This method will be removed in a future version of Torque.
`List<ListOrderedMapCI>` | `SummaryHelper.summarize(Criteria crit)` Return a list of ListOrderedMapCI objects with the results of the summary query.
`List<ListOrderedMapCI>` | `SummaryHelper.summarize(Criteria crit, Connection conn)` Deprecated. please use summarize(org.apache.torque.criteria.Criteria, Connection) instead. This method will be removed in a future version of Torque.
`List<ListOrderedMapCI>` | `SummaryHelper.summarize(Criteria crit, Connection conn)` Return a list of OrderedMap objects with the results of the summary query.
`List<ListOrderedMapCI>` | `SummaryHelper.summarize(Criteria crit, List<Class<?>> resultTypes)` Deprecated. Please use summarize(org.apache.torque.criteria.Criteria, List>) instead. This method will be removed in a future version of Torque.
`List<ListOrderedMapCI>` | `SummaryHelper.summarize(Criteria crit, List<Class<?>> resultTypes)` Return a list of ListOrderedMapCI objects with the results of the summary query.
`List<ListOrderedMapCI>` | `SummaryHelper.summarize(Criteria crit, List<Class<?>> resultTypes, Connection conn)` Deprecated. please use summarize(org.apache.torque.criteria.Criteria, List>, Connection) instead. This method will be removed in a future version of Torque.
`List<ListOrderedMapCI>` | `SummaryHelper.summarize(Criteria crit, List<Class<?>> resultTypes, Connection conn)` Return a list of ListOrderedMapCI objects with the results of the summary query.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2000-2013 The Apache Software Foundation. All Rights Reserved.