Uses of Class
org.apache.torque.TorqueException
-
Packages that use TorqueException 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.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. utility classes. -
-
Uses of TorqueException in org.apache.torque
Subclasses of TorqueException in org.apache.torque Modifier and Type Class Description classConstraintViolationExceptionThis exception is thrown if a database operation violates a database constraint, e.g. a foreign key constraint, a unique constraint or a not-null constraint.classDeadlockExceptionThis exception is thrown if the database detects a deadlock.classNoRowsExceptionThis exception indicates that no rows were returned but at least one should have been returned.classOptimisticLockingFailedExceptionThis exception is thrown if the database detects that a row in a table with optimistic locking was updated by another process.classTooManyRowsExceptionThis exception indicates that more rows were returned than expected.Methods in org.apache.torque that throw TorqueException Modifier and Type Method Description static AdapterTorque. getAdapter(String name)Returns the database adapter for a specific database name.AdapterTorqueInstance. getAdapter(String name)Returns the database adapter for a specific database.static ConnectionTorque. getConnection()This method returns a Connection from the default pool.static ConnectionTorque. getConnection(String name)This method returns a Connecton using the given database name.static ConnectionTorque. getConnection(String name, String username, String password)This method returns a Connecton using the given parameters.ConnectionTorqueInstance. getConnection()This method returns a Connection from the default pool.ConnectionTorqueInstance. getConnection(String name)Returns a database connection to the database with the keyname.ConnectionTorqueInstance. getConnection(String name, String username, String password)This method returns a Connection using the given parameters.static DatabaseTorque. getDatabase(String name)Returns the database for the given key.DatabaseTorqueInstance. getDatabase(String databaseName)Returns the database for the keydatabaseName.static DatabaseMapTorque. getDatabaseMap()Returns the default database map information.static DatabaseMapTorque. getDatabaseMap(String name)Returns the database map information for a given database.DatabaseMapTorqueInstance. getDatabaseMap()Returns the database map information for the default db.DatabaseMapTorqueInstance. 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.DataSourceFactoryTorqueInstance. getDataSourceFactory(String name)Returns the DataSourceFactory for the database with the namename.static StringTorque. getSchema(String name)This method returns the current schema for a database connectionStringTorqueInstance. getSchema(String name)This method returns the current schema for a database connectionstatic voidTorque. init(String configFile)Initialization of Torque with a path to a properties file.static voidTorque. init(org.apache.commons.configuration2.Configuration conf)Initialization of Torque with a configuration.voidTorqueInstance. init(String configFile)Initialization of Torque with a path to a properties or xml file.voidTorqueInstance. init(org.apache.commons.configuration2.Configuration conf)Initialization of Torque with a Configuration object.protected voidTorqueInstance. initManagerMappings(org.apache.commons.configuration2.Configuration conf)Creates a mapping between classes and their manager classes.static voidTorque. setConfiguration(org.apache.commons.configuration2.Configuration conf)Sets the configuration for Torque and all dependencies.voidTorqueInstance. setConfiguration(org.apache.commons.configuration2.Configuration conf)Sets the configuration for Torque and all dependencies.static voidTorque. shutdown()Shuts down the service.voidTorqueInstance. shutdown()Shuts down Torque. -
Uses of TorqueException in org.apache.torque.adapter
Methods in org.apache.torque.adapter that throw TorqueException Modifier and Type Method Description voidAbstractAdapter. 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.voidAdapter. 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.voidMssqlAdapter. generateLimits(Query query, long offset, int limit)Modify a query to add limit and offset values for MSSQL. -
Uses of TorqueException in org.apache.torque.avalon
Methods in org.apache.torque.avalon that throw TorqueException Modifier and Type Method Description AdapterTorque. getAdapter(String name)Returns database adapter for a specific connection pool.ConnectionTorque. getConnection()This method returns a Connection from the default pool.ConnectionTorque. getConnection(String name)ConnectionTorque. getConnection(String name, String username, String password)This method returns a Connecton using the given parameters.DatabaseTorque. getDatabase(String databaseName)Returns the database for the keydatabaseName.DatabaseMapTorque. getDatabaseMap()Returns the default database map information.DatabaseMapTorque. getDatabaseMap(String name)Returns the database map information.Map<String,Database>Torque. getDatabases()Returns a Map containing all Databases registered to Torque.StringTorque. getSchema(String name)This method returns the current schema for a database connectionvoidTorque. 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 Modifier and Type Method Description protected voidAbstractDataSourceFactory. applyConfiguration(org.apache.commons.configuration2.Configuration c, Object o)Iterate over a Configuration subset and apply all properties to a passed object which must contain Bean setter and gettervoidDataSourceFactory. close()A hook which is called when the resources of the associated DataSource can be released.voidPerUserPool2DataSourceFactory. close()Closes the pool associated with this factory and releases it.voidPerUserPoolDataSourceFactory. close()Deprecated.Closes the pool associated with this factory and releases it.voidSharedPool2DataSourceFactory. close()Closes the pool associated with this factory and releases it.voidSharedPoolDataSourceFactory. close()Deprecated.Closes the pool associated with this factory and releases it.abstract DataSourceAbstractDataSourceFactory. getDataSource()DataSourceDataSourceFactory. getDataSource()DataSourceJndiDataSourceFactory. getDataSource()protected voidAbstractDataSourceFactory. initCPDS(org.apache.commons.configuration2.Configuration configuration, ConnectionPoolDataSource cpds)Initializes the ConnectionPoolDataSource.abstract voidAbstractDataSourceFactory. initialize(org.apache.commons.configuration2.Configuration configuration)Initialize the factory.voidDataSourceFactory. initialize(org.apache.commons.configuration2.Configuration configuration)Initialize the factory.voidJndiDataSourceFactory. initialize(org.apache.commons.configuration2.Configuration configuration)voidPerUserPool2DataSourceFactory. initialize(org.apache.commons.configuration2.Configuration configuration)voidPerUserPoolDataSourceFactory. initialize(org.apache.commons.configuration2.Configuration configuration)Deprecated.voidSharedPool2DataSourceFactory. initialize(org.apache.commons.configuration2.Configuration configuration)voidSharedPoolDataSourceFactory. initialize(org.apache.commons.configuration2.Configuration configuration)Deprecated.protected voidAbstractDataSourceFactory. initJdbc2Pool(DataSource dataSource, org.apache.commons.configuration2.Configuration configuration)Initializes the Jdbc2PoolDataSource. -
Uses of TorqueException in org.apache.torque.manager
Methods in org.apache.torque.manager that throw TorqueException Modifier and Type Method Description protected voidAbstractBaseManager. clearImpl()Clears the cacheprotected TAbstractBaseManager. getOMInstance()Get a fresh instance of an omprotected TAbstractBaseManager. getOMInstance(ObjectKey<?> id)Return an instance of an om based on the idprotected TAbstractBaseManager. getOMInstance(ObjectKey<?> key, boolean fromCache)Return an instance of an om based on the idprotected 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 ObjectMethodResultCache. putImpl(MethodCacheKey key, Object value)protected ObjectNoOpMethodResultCache. putImpl(MethodCacheKey key, Object value)protected TAbstractBaseManager. putInstanceImpl(ObjectKey<?> key, T om)Put an object into the cacheprotected TAbstractBaseManager. putInstanceImpl(T om)Put an object into the cacheprotected TAbstractBaseManager. removeInstanceImpl(ObjectKey<?> key)Remove an object from the cacheprotected abstract TAbstractBaseManager. retrieveStoredOM(ObjectKey<?> id)Retrieve an object from persistent storageprotected abstract List<T>AbstractBaseManager. retrieveStoredOMs(List<? extends ObjectKey<?>> ids)Gets a list of om's based on id's.voidAbstractBaseManager. setClassName(String v)Set the classname to instantiate for getInstance()voidAbstractBaseManager. 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 Modifier and Type Method Description static ColumnMapMapHelper. getColumnMap(Column column, Criteria criteria)Returns the column map for a column.ColumnMapTableMap. getPrimaryKey()Returns the single primary key of this table, if it existsstatic TableMapMapHelper. getTableMap(Object possibleColumn, Criteria criteria, TableMap defaultTableMap)Returns the table map for a table name.voidDatabaseMap. 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 Modifier and Type Method Description protected <T> TAbstractIdGenerator. getId(Connection connection, Object keyInfo, RecordMapper<T> mapper)Returns the last ID used by this connection.BigDecimalAbstractIdGenerator. getIdAsBigDecimal(Connection connection, Object keyInfo)Returns the last ID used by this connection.BigDecimalIDBroker. getIdAsBigDecimal(Connection connection, Object tableName)Returns an id as a BigDecimal.BigDecimalIdGenerator. getIdAsBigDecimal(Connection connection, Object keyInfo)Returns an id as a BigDecimal.intAbstractIdGenerator. getIdAsInt(Connection connection, Object keyInfo)Returns the last ID used by this connection.intIDBroker. getIdAsInt(Connection connection, Object tableName)intIdGenerator. getIdAsInt(Connection connection, Object keyInfo)Returns an id as a primitive int.longAbstractIdGenerator. getIdAsLong(Connection connection, Object keyInfo)Returns the last ID used by this connection.longIDBroker. getIdAsLong(Connection connection, Object tableName)longIdGenerator. getIdAsLong(Connection connection, Object keyInfo)Returns an id as a primitive long.StringAbstractIdGenerator. getIdAsString(Connection connection, Object keyInfo)Returns the last ID used by this connection.StringIDBroker. getIdAsString(Connection connection, Object tableName)Returns an id as a String.StringIdGenerator. getIdAsString(Connection connection, Object keyInfo)Returns an id as a String.StringAbstractIdGenerator. getIdSql(Object keyInfo)Returns the SQL to retrieve the next id.BigDecimal[]IDBroker. getNextIds(String tableName, int numOfIdsToReturn, Connection connection)This method returns x number of ids for the given table.protected voidIDBroker. 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 Modifier and Type Method Description booleanColumnAccessByName. setByName(String name, Object value)Set a field in the object by field (Java) name.booleanColumnAccessByName. setByPeerName(String name, Object value)Set field values by Peer Field Name-booleanColumnAccessByName. setByPosition(int position, Object value)Set field values by it's position (zero based) in the XML schema.voidObjectModel. setPrimaryKey(String primaryKey)Sets the PrimaryKey for the object.voidObjectModel. setPrimaryKey(ObjectKey<?> primaryKey)Sets the PrimaryKey for the object. -
Uses of TorqueException in org.apache.torque.om.mapper
Methods in org.apache.torque.om.mapper that throw TorqueException Modifier and Type Method Description BigDecimalBigDecimalMapper. processRow(ResultSet resultSet, int rowOffset, Criteria criteria)Maps the current row in the result to a BigDecimal.List<Object>CompositeMapper. processRow(ResultSet resultSet, int offset, Criteria 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.DateDateMapper. processRow(ResultSet resultSet, int rowOffset, Criteria criteria)Maps the current row in the result set to a java.util.Date.IntegerIntegerMapper. processRow(ResultSet resultSet, int rowOffset, Criteria criteria)Maps the current row in the result set to a Integer.LongLongMapper. processRow(ResultSet resultSet, int rowOffset, Criteria criteria)Maps the current row in the result set to a Long.List<Object>ObjectListMapper. processRow(ResultSet resultSet, int offset, Criteria 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.TRecordMapper. processRow(ResultSet resultSet, int rowOffset, Criteria criteria)Constructs the object from the current row in the resultSet.StringStringMapper. processRow(ResultSet resultSet, int rowOffset, Criteria 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 Modifier and Type Method Description static QuerySqlBuilder. buildQuery(Criteria crit)Builds a Query from a criteria.StringQuery. getDisplayString()Returns a String to display this query.static StringSqlBuilder. getFullTableName(String table, String dbName)Fully qualify a table name with an optional schema reference.static TableMapSqlBuilder. getTableMap(String tableName, String dbName)Returns the table map for a table.static StringSqlBuilder. getUnqualifiedName(String name, String dbName)Unqualify a table or column name.static StringSqlBuilder. guessFullTableFromCriteria(Criteria criteria)Guesses a table name from a criteria by inspecting the first column in the criteria.static voidJoinBuilder. processJoins(Criteria 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 Modifier and Type Method Description PreparedStatementPartObjectOrColumnPsPartBuilder. buildPs(Object toBuildFrom, boolean ignoreCase, Query query, Adapter adapter)Builds a PreparedStatementPart from a column or single value.PreparedStatementPartObjectPsPartBuilder. buildPs(Object toBuildFrom, boolean ignoreCase, Query query, Adapter adapter)Builds a PreparedStatementPart from a single Object. -
Uses of TorqueException in org.apache.torque.sql.whereclausebuilder
Methods in org.apache.torque.sql.whereclausebuilder that throw TorqueException Modifier and Type Method Description PreparedStatementPartCurrentDateTimePsPartBuilder. buildPs(WhereClauseExpression whereClauseExpression, boolean ignoreCase, Query query, Adapter adapter)Builds a PreparedStatementPart from a WhereClauseExpression.PreparedStatementPartEnumValueBuilder. buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter)Takes a WhereClauseExpression containing a enum object and unwraps the enum value.PreparedStatementPartInBuilder. buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter)Takes a columnName and criteria and builds a SQL 'IN' expression taking into account the ignoreCase flag.PreparedStatementPartLikeBuilder. buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter)Builds the PS part for a WhereClauseExpression with a LIKE operator.PreparedStatementPartNullValueBuilder. buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter)Builds a PreparedStatementPart from a WhereClauseExpression which rhs is null and which has one of the comparison opertator =, <>, or !PreparedStatementPartStandardBuilder. buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter)Builds a PreparedStatementPart from a WhereClauseExpression which RHS and LHS is a simple value.PreparedStatementPartVerbatimSqlConditionBuilder. buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter)Builds the PS part for a WhereClauseExpression with a verbatim SQL condition.PreparedStatementPartWhereClausePsPartBuilder. buildPs(WhereClauseExpression whereClauseExpression, boolean ignoreCase, Query query, Adapter adapter)Builds a PreparedStatementPart from a WhereClauseExpression.protected ObjectEnumValueBuilder. getWrappedValue(Object wrapped) -
Uses of TorqueException in org.apache.torque.util
Methods in org.apache.torque.util that return TorqueException Modifier and Type Method Description abstract TorqueExceptionExceptionMapper. toTorqueException(SQLException sqlException)Maps a SQLException to an appropriate TorqueException.TorqueExceptionExceptionMapperImpl. toTorqueException(SQLException sqlException)Methods in org.apache.torque.util that throw TorqueException Modifier and Type Method Description BigDecimalAvgHelper. avg(Criteria c, String columnName)Returns the average of a column in a query.BigDecimalAvgHelper. avg(Criteria c, Connection conn, String columnName, TableMap tableMap)Returns the average of a column in a query.BigDecimalAvgHelper. avg(Criteria c, Connection conn, Column column)Returns the average of a column in a query.BigDecimalAvgHelper. avg(Criteria c, Column column)Returns the average of a column in a query.static TorqueConnectionTransaction. begin()Begin a transaction by retrieving a connection from the default database connection pool.static TorqueConnectionTransaction. begin(String dbName)Begin a transaction by retrieving a connection from the named database connection pool.TorqueConnectionTransactionManager. begin()Begin a transaction by retrieving a connection from the default database connection pool.TorqueConnectionTransactionManager. begin(String dbName)Begin a transaction by retrieving a connection from the named database connection pool.TorqueConnectionTransactionManagerImpl. begin()Begin a transaction by retrieving a connection from the default database connection pool.TorqueConnectionTransactionManagerImpl. begin(String dbName)Begin a transaction by retrieving a connection from the named database connection pool.abstract ColumnValuesAbstractPeerImpl. buildColumnValues(T obj)Returns the contents of the object as ColumnValues object.CriteriaSummaryHelper. buildCriteria(Criteria c)Builds the criteria to use in summarizing the information.voidTorqueConnection. close()voidTorqueConnectionImpl. close()static voidTransaction. commit(Connection con)Commit a transaction and close the connection.voidTransactionManager. commit(Connection con)Commit a transaction and close the connection.voidTransactionManagerImpl. commit(Connection con)Commit a transaction and close the connection.voidBasePeerImpl. correctBooleans(Criteria criteria)Checks all columns in the criteria to see whether booleanchar and booleanint columns are queried with a boolean.voidBasePeerImpl. correctBooleans(ColumnValues columnValues)Checks all columns in the criteria to see whether booleanchar and booleanint columns are queried with a boolean.intCountHelper. count(Criteria c)The COUNT function returns the number of rows in a query.intCountHelper. count(Criteria c, String columnName)Returns the number of rows in a query.intCountHelper. count(Criteria c, Connection conn)The COUNT function returns the number of rows in a query.intCountHelper. count(Criteria c, Connection conn, String columnName, TableMap tableMap)Returns the number of rows in a query.intCountHelper. count(Criteria c, Connection conn, Column column)Returns the number of rows in a query.intCountHelper. count(Criteria c, Column column)Returns the number of rows in a query.intCountHelper. count(TableMap tableMap)Counts all rows in a table.intCountHelper. count(TableMap tableMap, Connection conn)Counts all rows in a table.intAbstractPeerImpl. doDelete(ObjectKey<?> pk)Deletes a row in the database.intAbstractPeerImpl. doDelete(ObjectKey<?> pk, Connection con)Deletes a row in the database.intBasePeerImpl. doDelete(Criteria criteria)Deletes rows from a database table.intBasePeerImpl. doDelete(Criteria criteria, Connection connection)Deletes rows from a table.ObjectKey<?>AbstractPeerImpl. doInsert(ColumnValues columnValues, Connection con)Method to do inserts.voidAbstractPeerImpl. doInsert(T obj)Method to do insertsvoidAbstractPeerImpl. doInsert(T obj, Connection con)Method to do inserts.intBasePeerImpl. doInsert(Column[] toInsertInto, Criteria criteria)Executes a insert into...select statement.intBasePeerImpl. doInsert(Column[] toInsertInto, Criteria criteria, String dbName)Executes a insert into...select statement.intBasePeerImpl. doInsert(Column[] toInsertInto, Criteria criteria, String dbName, Connection connection)Executes a insert into...select statement.intBasePeerImpl. doInsert(Column[] toInsertInto, Criteria criteria, Connection connection)Executes a insert into...select statement.ObjectKey<?>BasePeerImpl. doInsert(ColumnValues insertValues)Inserts a record into a database table.ObjectKey<?>BasePeerImpl. doInsert(ColumnValues insertValues, Connection connection)Inserts a record into a database table.List<T>AbstractPeerImpl. doSelect(T obj)Selects objects from the database which have the same content as the passed object.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.<TT> List<TT>BasePeerImpl. doSelect(String query, RecordMapper<TT> mapper, String dbName)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.List<T>BasePeerImpl. doSelect(Criteria criteria)Selects objects from a database.List<T>BasePeerImpl. doSelect(Criteria criteria, Connection connection)Selects objects from a database within a transaction.<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)Performs a SQLselectusing a PreparedStatement.Stream<T>BasePeerImpl. doSelectAsStream(String query, Connection connection)Selects rows from a database an maps them to objects.<TT> Stream<TT>BasePeerImpl. doSelectAsStream(String query, RecordMapper<TT> mapper, Connection connection)Selects rows from a database an maps them to objects.Stream<T>BasePeerImpl. doSelectAsStream(Criteria criteria, Connection connection)Selects objects from a database within a transaction.<TT> Stream<TT>BasePeerImpl. doSelectAsStream(Criteria criteria, RecordMapper<TT> mapper, Connection connection)Performs a SQLselectusing a PreparedStatement.TAbstractPeerImpl. doSelectSingleRecord(T obj)Selects at most one object from the database which has the same content as the passed object.TBasePeerImpl. doSelectSingleRecord(Criteria criteria)Selects at most one object from a database.TBasePeerImpl. doSelectSingleRecord(Criteria criteria, Connection connection)Selects at most one object from a database within a transaction.<TT> TTBasePeerImpl. doSelectSingleRecord(Criteria criteria, RecordMapper<TT> mapper)Selects at most a single row from a database an maps them to objects.<TT> TTBasePeerImpl. doSelectSingleRecord(Criteria criteria, RecordMapper<TT> mapper, Connection connection)Selects at most a single row from a database an maps them to objects.intAbstractPeerImpl. doUpdate(T obj)Updates an object in the database.intAbstractPeerImpl. doUpdate(T obj, Connection con)Updates an object in the database.intBasePeerImpl. doUpdate(Criteria selectCriteria, ColumnValues updateValues)Executes an update against the database.intBasePeerImpl. doUpdate(Criteria criteria, ColumnValues updateValues, Connection connection)Executes an update against the database.intBasePeerImpl. doUpdate(ColumnValues updateValues)Convenience method used to update rows in the DB.intBasePeerImpl. doUpdate(ColumnValues updateValues, Connection connection)Convenience method used to update rows in the DB.intBasePeerImpl. executeStatement(String statementString)Utility method which executes a given sql statement as prepared statement.intBasePeerImpl. executeStatement(String statementString, String dbName, List<JdbcTypedValue> replacementValues)Utility method which executes a given sql statement as prepared statement.intBasePeerImpl. executeStatement(String statementString, String dbName, Map<String,JdbcTypedValue> replacementValues)Utility method which executes a given sql statement as prepared statement.intBasePeerImpl. executeStatement(String statementString, Connection con, List<JdbcTypedValue> replacementValues)Utility method which executes a given sql statement as prepared statement.intBasePeerImpl. executeStatement(String statementString, Connection con, Map<String,JdbcTypedValue> replacementValues)Utility method which executes a given sql statement as prepared statement.intBasePeerImpl. executeStatement(String statementString, List<JdbcTypedValue> replacementValues)Utility method which executes a given sql statement as prepared statement.intBasePeerImpl. executeStatement(String statementString, Map<String,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.intLargeSelect. 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.intLargeSelect. 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.StringLargeSelect. getRecordProgressText()A convenience method that provides text showing progress through the selected rows on a record basis.voidLargeSelect. invalidateResult()Clear the query result so that the query is re-executed when the next page is retrieved.static voidTransaction. rollback(Connection con)Roll back a transaction and release the connection.voidTransactionManager. rollback(Connection con)Roll back a transaction and release the connection.voidTransactionManagerImpl. rollback(Connection con)Roll back a transaction and release the connection.protected voidBasePeerImpl. setDbName(Criteria crit)Sets the database name in the passed criteria to the table's default, if it is not already set.List<ListOrderedMapCI<Object>>SummaryHelper. summarize(Criteria crit)Return a list of ListOrderedMapCI objects with the results of the summary query.List<ListOrderedMapCI<Object>>SummaryHelper. summarize(Criteria crit, Connection conn)Return a list of OrderedMap objects with the results of the summary query.List<ListOrderedMapCI<Object>>SummaryHelper. summarize(Criteria crit, List<Class<?>> resultTypes)Return a list of ListOrderedMapCI objects with the results of the summary query.List<ListOrderedMapCI<Object>>SummaryHelper. summarize(Criteria crit, List<Class<?>> resultTypes, Connection conn)Return a list of ListOrderedMapCI objects with the results of the summary query.Constructors in org.apache.torque.util that throw TorqueException Constructor Description ResultsetSpliterator(RecordMapper<T> recordMapper, Criteria criteria, Statement statement, ResultSet resultSet)Constructor
-