Deprecated API


Contents
Deprecated Interfaces
org.apache.torque.criteria.CriteriaInterface
          This interface will only exist temporarily and will be removed as soon as the class org.apache.torque.util.Criteria is removed. 
 

Deprecated Classes
org.apache.torque.util.BasePeer
          This class is not used any more as base class for the generated Peer classes and will be removed in a future version of Torque. 
org.apache.torque.util.Criteria
          This class will be removed in a future version of Torque. Use org.apache.torque.criteria.Criteria instead; note that that class has another semantics of the add.. and or.. methods. 
 

Deprecated Fields
org.apache.torque.criteria.SqlEnum.CUSTOM
          use the methods Criteria.whereVerbatimSql, Criteria.andVerbatimSql, Criteria.orVerbatimSql or the Constructor Criterion(null, null, null, String, Object[]) instead of using SqlEnum.CUSTOM. This constant will be removed in Torque 4.1. 
 

Deprecated Methods
org.apache.torque.util.BasePeerImpl.addSelectColumns(Criteria)
          Please use addSelectColumns( org.apache.torque.criteria.Criteria). This method will be removed in a future version of Torque. 
org.apache.torque.util.Criteria.and(String, String, Object)
          use and(Column, Object) instead 
org.apache.torque.util.Criteria.and(String, String, Object, SqlEnum)
          use and(Column, Object, comparison) instead 
org.apache.torque.util.SummaryHelper.buildCriteria(Criteria)
          please use buildCriteria(org.apache.torque.criteria.Criteria) instead. This method will be removed in a future version of Torque. 
org.apache.torque.sql.SqlBuilder.buildQuery(Criteria)
          please use org.apache.torque.criteria.Criteria instead of org.apache.torque.util.Criteria. 
org.apache.torque.util.Criteria.containsKey(String, String)
          this method does not check in all cases whether a matching criterion is contained (e.g. if the criterion has been added manually with another key). 
org.apache.torque.util.BasePeerImpl.correctBooleans(Criteria)
          Please use correctBooleans( org.apache.torque.criteria.Criteria). This method will be removed in a future version of Torque. 
org.apache.torque.util.BasePeer.correctBooleans(Criteria)
          Please use correctBooleans( org.apache.torque.criteria.Criteria, TableMap). This method will be removed in a future version of Torque. 
org.apache.torque.util.CountHelper.count(Criteria)
          use org.apache.toraue.criteria.Criteria instead of org.apache.toraue.util.Criteria. This method will be removed in Torque 4.1. 
org.apache.torque.util.CountHelper.count(Criteria, Column)
          use org.apache.toraue.criteria.Criteria instead of org.apache.toraue.util.Criteria. This method will be removed in Torque 4.1. 
org.apache.torque.util.CountHelper.count(Criteria, Connection)
          use org.apache.toraue.criteria.Criteria instead of org.apache.toraue.util.Criteria. This method will be removed in Torque 4.1. 
org.apache.torque.util.CountHelper.count(Criteria, Connection, Column)
          use org.apache.toraue.criteria.Criteria instead of org.apache.toraue.util.Criteria. This method will be removed in Torque 4.1. 
org.apache.torque.util.CountHelper.count(Criteria, Connection, String, TableMap)
          use org.apache.toraue.criteria.Criteria instead of org.apache.toraue.util.Criteria. This method will be removed in Torque 4.1. 
org.apache.torque.util.CountHelper.count(Criteria, String)
          use org.apache.toraue.criteria.Criteria instead of org.apache.toraue.util.Criteria. This method will be removed in Torque 4.1. 
org.apache.torque.util.BasePeerImpl.deleteAll(Connection, String, String, int)
          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. 
org.apache.torque.util.BasePeer.deleteAll(Connection, String, String, int)
          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. 
org.apache.torque.util.BasePeerImpl.deleteAll(String, String, int)
          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. 
org.apache.torque.util.BasePeer.deleteAll(String, String, int)
          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. 
org.apache.torque.util.BasePeerImpl.doDelete(Criteria)
          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. 
org.apache.torque.util.BasePeer.doDelete(Criteria)
          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. 
org.apache.torque.util.BasePeer.doDelete(Criteria)
          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. 
org.apache.torque.util.BasePeerImpl.doDelete(Criteria, Connection)
          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. 
org.apache.torque.util.BasePeer.doDelete(Criteria, Connection)
          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. 
org.apache.torque.util.BasePeer.doDelete(Criteria, Connection)
          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. 
org.apache.torque.util.BasePeerImpl.doSelect(Criteria)
          Please use doSelect(org.apache.torque.criteria.Criteria). This method will be removed in a future version of Torque. 
org.apache.torque.util.BasePeerImpl.doSelect(Criteria, Connection)
          Please use doSelect(org.apache.torque.criteria.Criteria, Connection). This method will be removed in a future version of Torque. 
org.apache.torque.util.BasePeer.doSelect(Criteria, RecordMapper)
          Please use doSelect(org.apache.torque.criteria.Criteria, RecordMapper, TableMap). This method will be removed in a future version of Torque. 
org.apache.torque.util.BasePeer.doSelect(Criteria, RecordMapper, Connection)
          Please use doSelect(org.apache.torque.criteria.Criteria, RecordMapper, TableMap, Connection). This method will be removed in a future version of Torque. 
org.apache.torque.util.BasePeerImpl.doSelect(Criteria, RecordMapper)
          Please use doSelect(org.apache.torque.criteria.Criteria, RecordMapper). This method will be removed in a future version of Torque. 
org.apache.torque.util.BasePeerImpl.doSelect(Criteria, RecordMapper, Connection)
          Please use doSelect(org.apache.torque.criteria.Criteria, RecordMapper, Connection). This method will be removed in a future version of Torque. 
org.apache.torque.util.BasePeerImpl.doUpdate(Criteria, ColumnValues)
          Please use doUpdate( org.apache.torque.criteria.Criteria, ColumnValues). This method will be removed in a future version of Torque. 
org.apache.torque.util.BasePeer.doUpdate(Criteria, ColumnValues)
          Please use doUpdate( org.apache.torque.criteria.Criteria, ColumnValues). This method will be removed in a future version of Torque. 
org.apache.torque.util.BasePeerImpl.doUpdate(Criteria, ColumnValues, Connection)
          Please use doUpdate(org.apache.torque.criteria.Criteria, ColumnValues, Connection). This method will be removed in a future version of Torque. 
org.apache.torque.util.BasePeer.doUpdate(Criteria, ColumnValues, Connection)
          Please use doUpdate(org.apache.torque.criteria.Criteria, ColumnValues, Connection). This method will be removed in a future version of Torque. 
org.apache.torque.util.Criteria.get(Column)
          this method only works if a criterion exists for the key. 
org.apache.torque.Torque.getDB(String)
          use getAdapter(String) instead. This method will be removed in a future version of Torque. 
org.apache.torque.TorqueInstance.getDB(String)
          use getAdapter(String) instead. This method will be removed in a future version of Torque. 
org.apache.torque.avalon.Torque.getDB(String)
          use getAdapter(String) instead. This method will be removed in a future version of Torque. 
org.apache.torque.map.ColumnMap.getFullyQualifiedName()
          use getSqlExpression() instead. 
org.apache.torque.util.BasePeerImpl.initCriteriaKeys(String, String[])
          This method is not used any more and will be removed in a future version of Torque. 
org.apache.torque.util.BasePeer.initCriteriaKeys(String, String[])
          This method is not used any more and will be removed in a future version of Torque. 
org.apache.torque.util.Criteria.or(String, String, Object)
          use or(Column, Object) instead 
org.apache.torque.util.Criteria.or(String, String, Object, SqlEnum)
          use or(Column, Object, SqlEnum) instead 
org.apache.torque.util.Criteria.put(Column, Object)
          use add(String, Object) instead 
org.apache.torque.util.BasePeerImpl.setDbName(Criteria)
          Please use addSelectColumns( org.apache.torque.criteria.Criteria). This method will be removed in a future version of Torque. 
org.apache.torque.util.Criteria.size()
          this method counts only top-level criterions, not all. 
org.apache.torque.Database.startIdBroker()
          This method will be removed in a future version of Torque. Please use createAndRegisterIdBroker() instead. 
org.apache.torque.util.SummaryHelper.summarize(Criteria)
          please use summarize(org.apache.torque.criteria.Criteria) instead. This method will be removed in a future version of Torque. 
org.apache.torque.util.SummaryHelper.summarize(Criteria, Connection)
          please use summarize(org.apache.torque.criteria.Criteria, Connection) instead. This method will be removed in a future version of Torque. 
org.apache.torque.util.SummaryHelper.summarize(Criteria, List>)
          Please use summarize(org.apache.torque.criteria.Criteria, List>) instead. This method will be removed in a future version of Torque. 
org.apache.torque.util.SummaryHelper.summarize(Criteria, List>, Connection)
          please use summarize(org.apache.torque.criteria.Criteria, List>, Connection) instead. This method will be removed in a future version of Torque. 
 

Deprecated Constructors
org.apache.torque.util.Criteria(int)
          initialCapacity is disregarded 
org.apache.torque.util.Criteria(String, int)
          initialCapacity is disregarded 
 



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