Deprecated API


Contents
Deprecated Classes
org.apache.ojb.broker.accesslayer.ConnectionFactoryManagedImpl
          no longer needed to specify a specific ConnectionFactory class in managed environments. 
org.apache.ojb.broker.util.GUID
          will be replaced by GUIDFactory. 
org.apache.ojb.broker.util.JdbcTypesHelper
          Use JdbcTypesHelper instead. 
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.platforms.Platform.createSequenceQuery(String)
          use Platform.createSequenceQuery(String) instead. 
org.apache.ojb.broker.Identity.fromByteArray(byte[])
            
org.apache.ojb.broker.query.Query.fullSize()
          use OJBIterator.fullSize() 
org.apache.ojb.odmg.oql.EnhancedOQLQuery.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)
            
 



(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30