Deprecated API


Contents
Deprecated Interfaces
org.apache.ojb.odmg.locking.LockMap
            
org.apache.ojb.odmg.locking.LockStrategy
            
 

Deprecated Classes
org.apache.ojb.odmg.locking.AbstractLockStrategy
            
org.apache.ojb.broker.accesslayer.ConnectionFactoryManagedImpl
          no longer needed to specify a specific ConnectionFactory class in managed environments. 
org.apache.ojb.odmg.locking.InMemoryLockMapImpl
            
org.apache.ojb.broker.util.JdbcTypesHelper
          Use JdbcTypesHelper instead. 
org.apache.ojb.odmg.locking.LockManagerDefaultImpl
            
org.apache.ojb.odmg.locking.LockMapFactory
            
org.apache.ojb.odmg.locking.LockStrategyFactory
            
org.apache.ojb.broker.util.ObjectModificationDefaultImpl
          Please use ObjectModification.UPDATE and ObjectModification.INSERT 
org.apache.ojb.odmg.OJBJ2EE_2
          use OJB.getInstance() with setting for 'ImplementationClass' declared in OJB properties file. 
org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldAutoProxyImplNew
          replaced by PersistentFieldAutoProxyImpl. 
org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessImplNew
          replaced by PersistentFieldDirectImpl. 
org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDynaBeanImplNew
          replaced by PersistentFieldDynaBeanImpl. 
org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldIntrospectorImplNew
          replaced by PersistentFieldIntrospectorImpl. 
org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldPrivilegedImplNew
          replaced by PersistentFieldPrivilegedImpl. 
org.apache.ojb.broker.platforms.PlatformWLOracle9iImpl
          since OJB 1.0.2 the default PlatformOracle9iImpl should be usable in WebLogic 
org.apache.ojb.broker.util.ReferenceMap
          use ReferenceIdentityMap instead. 
 

Deprecated Fields
org.apache.ojb.broker.util.sequence.SequenceManagerHelper.PROP_SEQ_START_OLD
          use SequenceManagerHelper.PROP_SEQ_START instead. 
 

Deprecated Methods
org.apache.ojb.broker.metadata.ClassDescriptor.addExtentClassName(Class)
          use ClassDescriptor.addExtentClass(String newExtentClass) instead 
org.apache.ojb.broker.query.Criteria.addGroupBy(FieldHelper)
          use QueryByCriteria#addGroupBy 
org.apache.ojb.broker.query.Criteria.addGroupBy(String)
          use QueryByCriteria#addGroupBy 
org.apache.ojb.broker.query.Criteria.addGroupBy(String[])
          use QueryByCriteria#addGroupBy 
org.apache.ojb.broker.query.Criteria.addOrderBy(FieldHelper)
          use QueryByCriteria#addOrderBy 
org.apache.ojb.broker.query.QueryByCriteria.addOrderBy(String)
          use #addOrderByAscending(String fieldName) 
org.apache.ojb.broker.query.Criteria.addOrderBy(String)
          use #addOrderByAscending(String fieldName) 
org.apache.ojb.broker.query.Criteria.addOrderBy(String, boolean)
          use QueryByCriteria#addOrderBy 
org.apache.ojb.broker.query.Criteria.addOrderByAscending(String)
          use QueryByCriteria#addOrderByAscending 
org.apache.ojb.broker.query.Criteria.addOrderByDescending(String)
          use QueryByCriteria#addOrderByDescending 
org.apache.ojb.broker.query.Criteria.addPrefetchedRelationship(String)
          use QueryByCriteria#addPrefetchedRelationship 
org.apache.ojb.broker.accesslayer.ConnectionFactoryDBCPImpl.createObjectPool(GenericObjectPool.Config)
          since OJB 1.0.4, please use ConnectionFactoryDBCPImpl.createConnectionPool(org.apache.commons.pool.impl.GenericObjectPool.Config, org.apache.commons.dbcp.AbandonedConfig) 
org.apache.ojb.broker.accesslayer.ConnectionFactoryDBCPImpl.createPoolingDataSource(ObjectPool)
          since OJB 1.0.4, please use ConnectionFactoryDBCPImpl.wrapAsDataSource(org.apache.ojb.broker.metadata.JdbcConnectionDescriptor, org.apache.commons.pool.ObjectPool) 
org.apache.ojb.broker.platforms.Platform.createSequenceQuery(String)
          use Platform.createSequenceQuery(String) instead. 
org.apache.ojb.broker.Identity.fromByteArray(byte[])
            
org.apache.ojb.odmg.oql.EnhancedOQLQuery.fullSize()
            
org.apache.ojb.broker.query.Query.fullSize()
          use OJBIterator.fullSize() 
org.apache.ojb.broker.query.Query.fullSize(int)
            
org.apache.ojb.broker.metadata.ClassDescriptor.getAutoIncrementField()
          does not make sense because it's possible to define more than one autoincrement field. Alternative see ClassDescriptor.getAutoIncrementFields() 
org.apache.ojb.broker.metadata.ObjectReferenceDescriptor.getCascadeDelete()
          use ObjectReferenceDescriptor.getCascadingDelete() instead. 
org.apache.ojb.broker.metadata.ObjectReferenceDescriptor.getCascadeStore()
          use ObjectReferenceDescriptor.getCascadingStore() instead. 
org.apache.ojb.broker.query.ReportQueryByCriteria.getColumns()
          use getAttributes() 
org.apache.ojb.broker.query.ReportQuery.getColumns()
          use getAttributes() 
org.apache.ojb.broker.PBKey.getRepositoryFile()
          use PBKey.getAlias() instead. 
org.apache.ojb.broker.PersistenceBrokerException.getSourceException()
          Use NestableRuntimeException.getCause() instead 
org.apache.ojb.broker.util.logging.Logger.safeDebug(String, Object)
          The normal logging methods should always be safe with regard to exceptions that are thrown while accessing the arguments. 
org.apache.ojb.broker.util.logging.Logger.safeDebug(String, Object, Throwable)
          The normal logging methods should always be safe with regard to exceptions that are thrown while accessing the arguments. 
org.apache.ojb.broker.util.logging.Logger.safeError(String, Object)
          The normal logging methods should always be safe with regard to exceptions that are thrown while accessing the arguments. 
org.apache.ojb.broker.util.logging.Logger.safeError(String, Object, Throwable)
          The normal logging methods should always be safe with regard to exceptions that are thrown while accessing the arguments. 
org.apache.ojb.broker.util.logging.Logger.safeFatal(String, Object)
          The normal logging methods should always be safe with regard to exceptions that are thrown while accessing the arguments. 
org.apache.ojb.broker.util.logging.Logger.safeFatal(String, Object, Throwable)
          The normal logging methods should always be safe with regard to exceptions that are thrown while accessing the arguments. 
org.apache.ojb.broker.util.logging.Logger.safeInfo(String, Object)
          The normal logging methods should always be safe with regard to exceptions that are thrown while accessing the arguments. 
org.apache.ojb.broker.util.logging.Logger.safeInfo(String, Object, Throwable)
          The normal logging methods should always be safe with regard to exceptions that are thrown while accessing the arguments. 
org.apache.ojb.broker.util.logging.Logger.safeWarn(String, Object)
          The normal logging methods should always be safe with regard to exceptions that are thrown while accessing the arguments. 
org.apache.ojb.broker.util.logging.Logger.safeWarn(String, Object, Throwable)
          The normal logging methods should always be safe with regard to exceptions that are thrown while accessing the arguments. 
org.apache.ojb.broker.Identity.serialize()
            
org.apache.ojb.broker.metadata.ObjectReferenceDescriptor.setCascadeDelete(boolean)
          use ObjectReferenceDescriptor.setCascadingDelete(int) 
org.apache.ojb.broker.metadata.ObjectReferenceDescriptor.setCascadeStore(boolean)
          use ObjectReferenceDescriptor.setCascadingStore(int) instead. 
org.apache.ojb.broker.query.ReportQueryByCriteria.setColumns(String[])
          use setAttributes() 
org.apache.ojb.broker.metadata.FieldDescriptor.setFieldConversion(FieldConversion)
          use setFieldConversionClassName instead 
org.apache.ojb.odmg.ImplementationImpl.setImplicitLockingBackward(boolean)
          is only for backward compatibility with older versions (before 1.0.4) and will be removed in future versions. 
org.apache.ojb.broker.metadata.MetadataManager.setPerThreadDescriptor(DescriptorRepository)
          use MetadataManager.setDescriptor(org.apache.ojb.broker.metadata.DescriptorRepository, boolean) 
 

Deprecated Constructors
org.apache.ojb.broker.MtoNImplementor(CollectionDescriptor, Object, Object)
            
org.apache.ojb.broker.MtoNImplementor(PersistenceBroker, CollectionDescriptor, Object, Object)
            
org.apache.ojb.odmg.oql.OQLQueryImpl(PBKey)
            
 



Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.