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

## Deprecated API

Contents

- Deprecated Classes
- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors

Deprecated Classes
org.apache.cayenne.access.types.AbstractType since 3.0, as not common superclass for ExtendedTypes is deemed necessary.
org.apache.cayenne.util.CayenneMap since 3.0 this map is not used by Cayenne internally.
org.apache.cayenne.access.DataDomainLegacyQueryAction since 3.0 - this class should not be public
org.apache.cayenne.project.DataNodeConfigInfo since 3.0. `ProjectConfigurator` approach turned out to be not usable, and is in fact rarely used (if ever). It will be removed in subsequent releases.
org.apache.cayenne.access.types.DefaultType since 3.0, as explicit type mappings are created for each JDBC spec type.
org.apache.cayenne.query.DeleteQuery since 3.0. Should be replaced either with EJBQL update query or SQLTemplate.
org.apache.cayenne.access.trans.DeleteTranslator since 3.0 since `DeleteQuery` is deprecated.
org.apache.cayenne.access.util.DistinctResultIterator since 3.0 moved to access.jdbc package.
org.apache.cayenne.reflect.IndexedListProperty since 3.0 (no substitute exists in Cayenne)
org.apache.cayenne.reflect.ListProperty since 3.0 replaced by non-public classes.
org.apache.cayenne.project.PartialProject since 3.0. `ProjectConfigurator` approach turned out to be not usable, and is in fact rarely used (if ever). It will be removed in subsequent releases.
org.apache.cayenne.dba.PkRange since 3.0 repalced with a non-public LongPkRange.
org.apache.cayenne.project.ProjectConfigInfo since 3.0. `ProjectConfigurator` approach turned out to be not usable, and is in fact rarely used (if ever). It will be removed in subsequent releases.
org.apache.cayenne.project.ProjectConfigurator since 3.0. `ProjectConfigurator` approach turned out to be not usable, and is in fact rarely used (if ever). It will be removed in subsequent releases.
org.apache.cayenne.map.QueryBuilder since 3.0 replaced by a non-public class.
org.apache.cayenne.access.QueryTranslator since 3.0, as a part of translator inheritance hierarchy reorganization. This class is no longer in use as a common superclass.
org.apache.cayenne.access.jdbc.UpdateAction since 3.0 as corresponding delete and update queries are deprecated.
org.apache.cayenne.query.UpdateQuery since 3.0. Should be replaced either with EJBQL update query or SQLTemplate.
org.apache.cayenne.access.trans.UpdateTranslator since 3.0 use EJBQL or SQLTemplate

Deprecated Fields
org.apache.cayenne.query.Ordering.ASC Use SortOrder.ASCENDING instead.
org.apache.cayenne.query.QueryMetadata.CACHE_POLICY_DEFAULT since 3.0 use `QueryCacheStrategy` enum.
org.apache.cayenne.query.QueryMetadata.CACHE_POLICY_PROPERTY since 3.0 use "cayenne.GenericSelectQuery.cacheStrategy"
org.apache.cayenne.query.Ordering.DESC Use SortOrder.DESCENDING instead.
org.apache.cayenne.query.QueryMetadata.LOCAL_CACHE since 3.0 use `QueryCacheStrategy` enum.
org.apache.cayenne.query.QueryMetadata.LOCAL_CACHE_REFRESH since 3.0 use `QueryCacheStrategy` enum.
org.apache.cayenne.query.QueryMetadata.NO_CACHE since 3.0 use `QueryCacheStrategy` enum.
org.apache.cayenne.map.DbRelationship.PROPERTY_DID_CHANGE since 3.0 - unused
org.apache.cayenne.conf.DBCPDataSourceFactory.PROPERTY_PREFIX since 2.0 - this information is now private.
org.apache.cayenne.conf.DBCPDataSourceFactory.PS_PROPERTY_PREFIX since 2.0 - this information is now private.
org.apache.cayenne.query.QueryMetadata.REFRESHING_OBJECTS_DEFAULT since 3.0
org.apache.cayenne.query.QueryMetadata.REFRESHING_OBJECTS_PROPERTY since 3.0
org.apache.cayenne.query.QueryMetadata.RESOLVING_INHERITED_DEFAULT since 3.0. Inheritance resolving is not optional anymore.
org.apache.cayenne.query.QueryMetadata.RESOLVING_INHERITED_PROPERTY since 3.0. Inheritance resolving is not optional anymore.
org.apache.cayenne.dba.db2.DB2PkGenerator.SEQUENCE_PREFIX since 2.0 - other generators do not expose the default prefix.
org.apache.cayenne.query.QueryMetadata.SHARED_CACHE since 3.0 use `QueryCacheStrategy` enum.
org.apache.cayenne.query.QueryMetadata.SHARED_CACHE_REFRESH since 3.0 use `QueryCacheStrategy` enum.
org.apache.cayenne.Fault.toManyFault since 3.0 as the fault singletons are no longer static and are managed by the Cayenne configuration.
org.apache.cayenne.Fault.toOneFault since 3.0 as the fault singletons are no longer static and are managed by the Cayenne configuration.

Deprecated Methods
org.apache.cayenne.map.DbEntity.addAttribute(Attribute) in favour of `DbEntity.addAttribute(DbAttribute attr)`. Scheduled for removal in Cayenne 4.
org.apache.cayenne.query.SelectQuery.addOrdering(String, boolean)
org.apache.cayenne.query.SelectQuery.addOrdering(String, boolean, boolean)
org.apache.cayenne.wocompat.parser.Parser.array() since 3.0, use 'collection(String)' instead.
org.apache.cayenne.dba.JdbcPkGenerator.binaryPK(DbEntity) since 3.0
org.apache.cayenne.access.DataContext.bindThreadDataContext(DataContext) since 3.0, replaced by BaseContex#bindThreadObjectContext().
org.apache.cayenne.access.ObjectStore.cachedQueriesCount() since 3.0. See `DataContext.getQueryCache()`.
org.apache.cayenne.access.ObjectStore.cacheQueryResult(String, List) since 3.0. See `DataContext.getQueryCache()`.
org.apache.cayenne.conf.Configuration.canInitialize() since 3.0 - this method is redundant, as subclasses can prevent initialization by overriding `Configuration.initialize()` and throwing an exception.
org.apache.cayenne.conf.FileConfiguration.canInitialize() since 3.0 - superclass method is deprecated.
org.apache.cayenne.util.ResourceLocator.classBaseUrl(Class) since 3.0 unused.
org.apache.cayenne.map.MapLoader.configLocator() since 3.0 use `MapLoader.createResourceFinder()`.
org.apache.cayenne.access.DataContext.createAndRegisterNewObject(Class) since 3.0, use `DataContext.newObject(Class)` instead.
org.apache.cayenne.access.DataContext.createAndRegisterNewObject(String) since 3.0, use `DataContext.newObject(String)` instead.
org.apache.cayenne.access.DataContext.createChildDataContext() since 3.0 use `DataContext.createChildContext()`.
org.apache.cayenne.access.DbGenerator.createFkConstraintsQueries(DbEntity) since 3.0 as this method is used to generate both FK and UNIQUE constraints, use 'createConstraintsQueries' instead.
org.apache.cayenne.DataRow.createObjectId(ObjEntity) since 3.0 - unused
org.apache.cayenne.DataRow.createObjectId(String, DbEntity) since 3.0 - unused.
org.apache.cayenne.DataRow.createObjectId(String, DbEntity, String) since 3.0 - unused.
org.apache.cayenne.map.DataMap.dbAttributeAdded(AttributeEvent) since 3.0 DataMap no longer implements DbAttributeListener
org.apache.cayenne.map.DataMap.dbAttributeChanged(AttributeEvent) since 3.0 DataMap no longer implements DbAttributeListener
org.apache.cayenne.map.DataMap.dbAttributeRemoved(AttributeEvent) since 3.0 DataMap no longer implements DbAttributeListener
org.apache.cayenne.map.DataMap.dbRelationshipAdded(RelationshipEvent) since 3.0 DataMap no longer implements DbRelationshipListener
org.apache.cayenne.map.DataMap.dbRelationshipChanged(RelationshipEvent) since 3.0 DataMap no longer implements DbRelationshipListener
org.apache.cayenne.map.ObjRelationship.dbRelationshipDidChange(RelationshipEvent) since 3.0 as ObjRelationship no longer reacts to DbRelationship events.
org.apache.cayenne.map.DataMap.dbRelationshipRemoved(RelationshipEvent) since 3.0 DataMap no longer implements DbRelationshipListener
org.apache.cayenne.wocompat.parser.Parser.dictionary() since 3.0, use 'map(String)' instead.
org.apache.cayenne.conf.Configuration.didInitialize() since 3.0 subclasses are recommended to override `Configuration.initialize()`.
org.apache.cayenne.dba.AutoAdapter.dropTable(DbEntity) since 3.0 as the decorated method is deprecated.
org.apache.cayenne.dba.DbAdapter.dropTable(DbEntity) since 3.0 Cayenne supports 'dropTableStatements' to allow multiple statements to be executed when dropping the table.
org.apache.cayenne.dba.JdbcAdapter.dropTable(DbEntity) since 3.0 in favor of "dropTableStatements"
org.apache.cayenne.dba.mysql.MySQLAdapter.dropTable(DbEntity) since 3.0
org.apache.cayenne.CayenneDataObject.fetchFinished() since 3.0 use callbacks.
org.apache.cayenne.DataObject.fetchFinished() since 3.0 users must use callbacks instead. This method is no longer invoked by Cayenne runtime.
org.apache.cayenne.access.IncrementalFaultList.fillIn(Query) since 3.0 this method is not called and is deprecated in favor of `IncrementalFaultList.fillIn(Query, List)`, as this method performed unneeded synchronization.
org.apache.cayenne.dba.JdbcAdapter.findAdapterResource(String) since 3.0 replaced with protected method `JdbcAdapter.findResource(String)`.
org.apache.cayenne.util.ResourceLocator.findResourceInClasspath(String) since 3.0 unused.
org.apache.cayenne.util.ResourceLocator.findResourceInFileSystem(String) since 3.0 unused
org.apache.cayenne.map.DbRelationship.firePropertyDidChange() since 3.0 - unused.
org.apache.cayenne.dba.JdbcPkGenerator.generatePkForDbEntity(DataNode, DbEntity) since 3.0
org.apache.cayenne.dba.openbase.OpenBasePkGenerator.generatePkForDbEntity(DataNode, DbEntity) since 3.0
org.apache.cayenne.dba.PkGenerator.generatePkForDbEntity(DataNode, DbEntity) since 3.0 use `PkGenerator.generatePk(DataNode, DbAttribute)`.
org.apache.cayenne.access.ObjectStore.getCachedQueryResult(String) since 3.0. See `DataContext.getQueryCache()`.
org.apache.cayenne.query.ProcedureQuery.getCachePolicy() since 3.0 `ProcedureQuery.getCacheStrategy()` replaces this method.
org.apache.cayenne.query.QueryMetadata.getCachePolicy() since 3.0 `QueryMetadata.getCacheStrategy()` replaces this method.
org.apache.cayenne.query.SelectQuery.getCachePolicy() since 3.0 `SelectQuery.getCacheStrategy()` replaces this method.
org.apache.cayenne.query.SQLTemplate.getCachePolicy() since 3.0 `SQLTemplate.getCacheStrategy()` replaces this method.
org.apache.cayenne.ejbql.parser.JavaCharStream.getColumn()
org.apache.cayenne.exp.parser.JavaCharStream.getColumn()
org.apache.cayenne.wocompat.parser.SimpleCharStream.getColumn()
org.apache.cayenne.access.DbLoader.getCon() since 3.0 in favor of `DbLoader.getConnection()`.
org.apache.cayenne.CayenneDataObject.getDataContext() since 3.0 use `PersistentObject.getObjectContext()`.
org.apache.cayenne.DataObject.getDataContext() since 3.0 use `Persistent.getObjectContext()`.
org.apache.cayenne.conf.Configuration.getDataSourceFactory() since 3.0 this method is no longer called when configuration is loaded. Instead `Configuration.getDataSourceFactory(String)` is invoked, and this is the method that should be overriden.
org.apache.cayenne.project.ProjectConfiguration.getDataSourceFactory() since 3.0 as the super method is deprecated as well.
org.apache.cayenne.event.EventManager.getDefaultManager() since 3.0 users should create their own instances of EventManager using constructor and share them as appropriate for their target use.
org.apache.cayenne.access.types.ExtendedTypeMap.getDefaultType(String) since 3.0 - use `ExtendedTypeMap.createType(String)` instead.
org.apache.cayenne.conf.Configuration.getDomainConfiguration() since 3.0 This method is specific to subclass, so it should not be in the superclass.
org.apache.cayenne.access.types.ExtendedTypeMap.getFactories() since 3.0 unused
org.apache.cayenne.query.QueryMetadata.getFetchStartIndex() since 3.0, renamed to `QueryMetadata.getFetchOffset()`.
org.apache.cayenne.access.OptimisticLockException.getFreshSnapshot(QueryEngine) since 3.0 use `OptimisticLockException.getFreshSnapshot(ObjectContext)` instead.
org.apache.cayenne.wocompat.EOObjEntity.getHasSuperClass() since 2.0 use isSubclass()
org.apache.cayenne.wocompat.EOObjEntity.getIsAbstractEntity() since 2.0 use isAbstractEntity()
org.apache.cayenne.wocompat.EOObjEntity.getIsClientEntity() since 2.0 use !isServerOnly()
org.apache.cayenne.access.jdbc.ColumnDescriptor.getLabel() since 3.0 use `ColumnDescriptor.getDataRowKey()`
org.apache.cayenne.ejbql.parser.JavaCharStream.getLine()
org.apache.cayenne.exp.parser.JavaCharStream.getLine()
org.apache.cayenne.wocompat.parser.SimpleCharStream.getLine()
org.apache.cayenne.dba.oracle.OracleAdapter.getOutputStreamFromBlobMethod() since 3.0, as a generic BLOB method is used to write BLOBs.
org.apache.cayenne.access.jdbc.ParameterBinding.getPrecision() since 3.0 use `ParameterBinding.getScale()`.
org.apache.cayenne.map.DbAttribute.getPrecision() since 3.0 as this property really referred to 'scale'. Use `DbAttribute.getScale()` instead.
org.apache.cayenne.map.DbEntity.getPrimaryKey() since 3.0 use `DbEntity.getPrimaryKeys()` that returns a collection.
org.apache.cayenne.dba.mysql.MySQLPkGenerator.getPrimaryKey(Statement, String) since 3.0
org.apache.cayenne.reflect.ClassDescriptor.getProperties() since 3.0. Use `ClassDescriptor.visitProperties(PropertyVisitor)` method instead.
org.apache.cayenne.reflect.LazyClassDescriptorDecorator.getProperties() since 3.0. Use `LazyClassDescriptorDecorator.visitProperties(PropertyVisitor)` method instead.
org.apache.cayenne.reflect.PersistentDescriptor.getProperties() since 3.0. Use `PersistentDescriptor.visitProperties(PropertyVisitor)` method instead.
org.apache.cayenne.wocompat.EOObjAttribute.getReadOnly() since 2.0 use isReadOnly().
org.apache.cayenne.access.ToManyList.getRelationship() use `RelationshipFault.getRelationshipName()` method
org.apache.cayenne.conf.Configuration.getResourceLocator() since 3.0 use/override `Configuration.getResourceFinder()`.
org.apache.cayenne.conf.DefaultConfiguration.getResourceLocator() since 3.0 as super is deprecated.
org.apache.cayenne.access.DataContext.getThreadDataContext() since 3.0, replaced by BaseContex#getThreadObjectContext().
org.apache.cayenne.Fault.getToManyFault() since 3.0 as the fault singletons are no longer static and are managed by the Cayenne configuration.
org.apache.cayenne.Fault.getToOneFault() since 3.0 as the fault singletons are no longer static and are managed by the Cayenne configuration.
org.apache.cayenne.conf.Configuration.getViewConfiguration(String) since 3.0 as Cayenne no longer cares to read view config files.
org.apache.cayenne.dba.oracle.OracleAdapter.getWriterFromClobMethod() since 3.0, as a generic CLOB method is used to write CLOBs.
org.apache.cayenne.access.jdbc.RowDescriptor.indexTypes(ExtendedTypeMap) since 3.0 use `RowDescriptorBuilder`.
org.apache.cayenne.access.jdbc.RowDescriptor.initFromResultSet(ResultSet) since 3.0 use `RowDescriptorBuilder`.
org.apache.cayenne.map.ObjAttribute.isCompound() since 3.0 use 'isFlattened'.
org.apache.cayenne.access.ClientServerChannel.isLifecycleEventsEnabled() Since 3.0 - always returns false. This method was a misnomer referring to DataChannel events, not lifecycle events introduced in 3.0. Currently ClientServerChannel posts no channel events.
org.apache.cayenne.query.ProcedureQuery.isRefreshingObjects() since 3.0. With introduction of the cache strategies this setting is redundant, although it is still being taken into account. It will be removed in the later versions of Cayenne.
org.apache.cayenne.query.SelectQuery.isRefreshingObjects() since 3.0. With introduction of the cache strategies this setting is redundant, although it is still being taken into account. It will be removed in the later versions of Cayenne.
org.apache.cayenne.query.SQLTemplate.isRefreshingObjects() since 3.0. With introduction of the cache strategies this setting is redundant, although it is still being taken into account. It will be removed in the later versions of Cayenne.
org.apache.cayenne.access.jdbc.SQLTemplateAction.isRemovingLineBreaks() since 3.0
org.apache.cayenne.query.ProcedureQuery.isResolvingInherited() since 3.0. Inheritance resolving is not optional anymore.
org.apache.cayenne.query.QueryMetadata.isResolvingInherited() since 3.0. Inheritance resolving is not optional anymore.
org.apache.cayenne.query.SelectQuery.isResolvingInherited() since 3.0. Inheritance resolving is not optional anymore.
org.apache.cayenne.query.SQLTemplate.isResolvingInherited() since 3.0. Inheritance resolving is not optional anymore.
org.apache.cayenne.map.Entity.lastPathComponent(Expression) since 3.0 use `Entity.lastPathComponent(Expression, Map)` method that supports aliases.
org.apache.cayenne.map.EntityResolver.lookupDbEntity(Class) since 3.0 - lookup DbEntity via ObjEntity instead.
org.apache.cayenne.map.EntityResolver.lookupDbEntity(Persistent) since 3.0 - lookup DbEntity via ObjEntity instead.
org.apache.cayenne.map.EntityResolver.lookupObjEntity(String) since 3.0 - use getObjEntity() instead.
org.apache.cayenne.map.DataMap.objAttributeAdded(AttributeEvent) since 3.0 DataMap no longer implements ObjAttributeListener
org.apache.cayenne.map.ObjEntity.objAttributeAdded(AttributeEvent) since 3.0 ObjEntity no longer implements ObjAttributeListener
org.apache.cayenne.map.DataMap.objAttributeChanged(AttributeEvent) since 3.0 DataMap no longer implements ObjAttributeListener
org.apache.cayenne.map.ObjEntity.objAttributeChanged(AttributeEvent) since 3.0 ObjEntity no longer implements ObjAttributeListener
org.apache.cayenne.map.DataMap.objAttributeRemoved(AttributeEvent) since 3.0 DataMap no longer implements ObjAttributeListener
org.apache.cayenne.map.ObjEntity.objAttributeRemoved(AttributeEvent) since 3.0 ObjEntity no longer implements ObjAttributeListener
org.apache.cayenne.wocompat.parser.Parser.object() since 3.0, use 'object(String)' instead.
org.apache.cayenne.access.DataContext.objectsFromDataRows(Class, List, boolean, boolean) since 3.0 as refresh and resolveInheritanceHierarchy flags are deprecated. Use `DataContext.objectsFromDataRows(ClassDescriptor, List)` instead.
org.apache.cayenne.access.DataContext.objectsFromDataRows(ObjEntity, List, boolean, boolean) since 3.0 as refreshing and resolvingInheritanceHierarchy flags are deprecated. Use `DataContext.objectsFromDataRows(ClassDescriptor, List)` instead.
org.apache.cayenne.access.ObjectStore.objectsInvalidated(Collection) since 3.0, use `BaseContext.invalidateObjects(Collection)` or `RefreshQuery`.
org.apache.cayenne.map.DataMap.objRelationshipAdded(RelationshipEvent) since 3.0 DataMap no longer implements ObjRelationshipListener
org.apache.cayenne.map.ObjEntity.objRelationshipAdded(RelationshipEvent) since 3.0 ObjEntity no longer implements ObjRelationshipListener
org.apache.cayenne.map.DataMap.objRelationshipChanged(RelationshipEvent) since 3.0 DataMap no longer implements ObjRelationshipListener
org.apache.cayenne.map.ObjEntity.objRelationshipChanged(RelationshipEvent) since 3.0 ObjEntity no longer implements ObjRelationshipListener
org.apache.cayenne.map.DataMap.objRelationshipRemoved(RelationshipEvent) since 3.0 DataMap no longer implements ObjRelationshipListener
org.apache.cayenne.map.ObjEntity.objRelationshipRemoved(RelationshipEvent) since 3.0 ObjEntity no longer implements ObjRelationshipListener
org.apache.cayenne.access.jdbc.RowDescriptor.overrideJavaTypes(Map) since 3.0 use `RowDescriptorBuilder`.
org.apache.cayenne.dba.db2.DB2PkGenerator.pkFromDatabase(DataNode, DbEntity) since 3.0
org.apache.cayenne.dba.derby.DerbyPkGenerator.pkFromDatabase(DataNode, DbEntity) since 3.0
org.apache.cayenne.dba.frontbase.FrontBasePkGenerator.pkFromDatabase(DataNode, DbEntity) since 3.0
org.apache.cayenne.dba.ingres.IngresPkGenerator.pkFromDatabase(DataNode, DbEntity) since 3.0
org.apache.cayenne.dba.JdbcPkGenerator.pkFromDatabase(DataNode, DbEntity) since 3.0 `JdbcPkGenerator.longPkFromDatabase(DataNode, DbEntity)` is used.
org.apache.cayenne.dba.mysql.MySQLPkGenerator.pkFromDatabase(DataNode, DbEntity) since 3.0
org.apache.cayenne.dba.openbase.OpenBasePkGenerator.pkFromDatabase(DataNode, DbEntity) since 3.0
org.apache.cayenne.dba.oracle.OraclePkGenerator.pkFromDatabase(DataNode, DbEntity) since 3.0
org.apache.cayenne.dba.postgres.PostgresPkGenerator.pkFromDatabase(DataNode, DbEntity) since 3.0
org.apache.cayenne.dba.sybase.SybasePkGenerator.pkFromDatabase(DataNode, DbEntity) since 3.0
org.apache.cayenne.BaseContext.prepareForAccess(Persistent, String) since 3.0 this method is replaced by `BaseContext.prepareForAccess(Persistent, String, boolean)`.
org.apache.cayenne.ObjectContext.prepareForAccess(Persistent, String) since 3.0 use `ObjectContext.prepareForAccess(Persistent, String, boolean)`.
org.apache.cayenne.access.DataContext.refetchObject(ObjectId) since 3.0 use `ObjectIdQuery` with appropriate refresh settings.
org.apache.cayenne.access.ObjectStore.resolveHollow(Persistent) since 3.0 use `ObjectContext.prepareForAccess(Persistent, String, boolean)`.
org.apache.cayenne.query.Ordering.setAscending(boolean) Use setSortOrder() or setAscending() or setDescending().
org.apache.cayenne.query.ProcedureQuery.setCachePolicy(String) since 3.0 `ProcedureQuery.setCacheStrategy(QueryCacheStrategy)` replaces this method.
org.apache.cayenne.query.SelectQuery.setCachePolicy(String) since 3.0 `SelectQuery.setCacheStrategy(QueryCacheStrategy)` replaces this method.
org.apache.cayenne.query.SQLTemplate.setCachePolicy(String) since 3.0 `SQLTemplate.setCacheStrategy(QueryCacheStrategy)` replaces this method.
org.apache.cayenne.query.Ordering.setCaseInsensitive(boolean) Use setSortOrder() or setCaseInsensitive() or setCaseSensitive().
org.apache.cayenne.CayenneDataObject.setDataContext(DataContext) since 3.0 use `CayenneDataObject.setObjectContext(ObjectContext)`.
org.apache.cayenne.DataObject.setDataContext(DataContext) since 3.0 use `Persistent.setObjectContext(ObjectContext)`.
org.apache.cayenne.conf.Configuration.setDataSourceFactory(DataSourceFactory) since 3.0 as a more flexible mechanism for customizing DataSourceFactory is implemented. Note that the factory set via this method would still work, although using this method is discouraged.
org.apache.cayenne.map.ObjAttribute.setDbAttribute(DbAttribute) since 3.0 - this method only works for non-flattened attributes. 'setDbAttributePath' should be used instead.
org.apache.cayenne.map.ObjAttribute.setDbAttributeName(String) since 3.0 use `ObjAttribute.setDbAttributePath(String)`.
org.apache.cayenne.wocompat.EOObjEntity.setHasSuperClass(boolean) since 2.0 use setSubclass()
org.apache.cayenne.wocompat.EOObjEntity.setIsAbstractEntity(boolean) since 2.0 use setAbstractEntity()
org.apache.cayenne.wocompat.EOObjEntity.setIsClientEntity(boolean) since 2.0 use setServerOnly()
org.apache.cayenne.access.jdbc.ColumnDescriptor.setLabel(String) since 3.0 use `ColumnDescriptor.setDataRowKey(String)`.
org.apache.cayenne.access.ClientServerChannel.setLifecycleEventsEnabled(boolean) Since 3.0 - does nothing. This method was a misnomer referring to DataChannel events, not lifecycle events introduced in 3.0. Currently ClientServerChannel posts no channel events.
org.apache.cayenne.access.jdbc.ParameterBinding.setPrecision(int) since 3.0 use `ParameterBinding.setScale(int)`.
org.apache.cayenne.map.DbAttribute.setPrecision(int) since 3.0 as this property really referred to 'scale'. Use `DbAttribute.setScale(int)` instead.
org.apache.cayenne.query.ProcedureQuery.setRefreshingObjects(boolean) since 3.0. With introduction of the cache strategies this setting is redundant, although it is still being taken into account. It will be removed in the later versions of Cayenne.
org.apache.cayenne.query.SelectQuery.setRefreshingObjects(boolean) since 3.0. With introduction of the cache strategies this setting is redundant, although it is still being taken into account. It will be removed in the later versions of Cayenne.
org.apache.cayenne.query.SQLTemplate.setRefreshingObjects(boolean) since 3.0. With introduction of the cache strategies this setting is redundant, although it is still being taken into account. It will be removed in the later versions of Cayenne.
org.apache.cayenne.access.jdbc.SQLTemplateAction.setRemovingLineBreaks(boolean) since 3.0 - does nothing
org.apache.cayenne.query.ProcedureQuery.setResolvingInherited(boolean) since 3.0. Inheritance resolving is not optional anymore.
org.apache.cayenne.query.SelectQuery.setResolvingInherited(boolean) since 3.0. Inheritance resolving is not optional anymore.
org.apache.cayenne.query.SQLTemplate.setResolvingInherited(boolean) since 3.0. Inheritance resolving is not optional anymore.
org.apache.cayenne.access.ObjectStore.snapshotsUpdatedForObjects(List, List, boolean) since 3.0 unused
org.apache.cayenne.access.ObjectStore.startTrackingNewObjects() since 3.0 as ObjectStore holds weak reference to unmodified objects and this feature is useless.
org.apache.cayenne.dba.AutoAdapter.supportsFkConstraints() since 3.0 - almost all DB's support FK's now and also this flag is less relevant for Cayenne now.
org.apache.cayenne.dba.DbAdapter.supportsFkConstraints() since 3.0 - almost all DB's support FK's now and also this flag is less relevant for Cayenne now.
org.apache.cayenne.access.ObjectStore.unregisterNewObjects() since 3.0 as ObjectStore holds weak reference to unmodified objects and this feature is useless.
org.apache.cayenne.dba.JdbcActionBuilder.updateAction(Query) since 3.0 as the corresponding `UpdateQuery` and `DeleteQuery` queries are deprecated.
org.apache.cayenne.query.SQLActionVisitor.updateAction(Query) since 3.0 as the corresponding `UpdateQuery` and `DeleteQuery` queries are deprecated.
org.apache.cayenne.access.types.AbstractType.validateNull(Object, String, Object, DbAttribute, ValidationResult) since 3.0 as validation should not be done at the DataNode level.
org.apache.cayenne.access.types.AbstractType.validateProperty(Object, String, Object, DbAttribute, ValidationResult) since 3.0 as validation should not be done at the DataNode level.
org.apache.cayenne.access.types.BigDecimalType.validateProperty(Object, String, Object, DbAttribute, ValidationResult) since 3.0 as validation should not be done at the DataNode level.
org.apache.cayenne.access.types.BigIntegerType.validateProperty(Object, String, Object, DbAttribute, ValidationResult) since 3.0 as validation should not be done at the DataNode level.
org.apache.cayenne.access.types.BooleanType.validateProperty(Object, String, Object, DbAttribute, ValidationResult) since 3.0 as validation should not be done at the DataNode level.
org.apache.cayenne.access.types.ByteArrayType.validateProperty(Object, String, Object, DbAttribute, ValidationResult) since 3.0 as validation should not be done at the DataNode level.
org.apache.cayenne.access.types.CalendarType.validateProperty(Object, String, Object, DbAttribute, ValidationResult) since 3.0 as validation should not be done at the DataNode level.
org.apache.cayenne.access.types.CharType.validateProperty(Object, String, Object, DbAttribute, ValidationResult) since 3.0 as validation should not be done at the DataNode level.
org.apache.cayenne.access.types.DateType.validateProperty(Object, String, Object, DbAttribute, ValidationResult) since 3.0 as validation should not be done at the DataNode level.
org.apache.cayenne.access.types.DoubleType.validateProperty(Object, String, Object, DbAttribute, ValidationResult) since 3.0 as validation should not be done at the DataNode level.
org.apache.cayenne.access.types.EnumType.validateProperty(Object, String, Object, DbAttribute, ValidationResult) since 3.0 as validation should not be done at the DataNode level.
org.apache.cayenne.access.types.ExtendedEnumType.validateProperty(Object, String, Object, DbAttribute, ValidationResult) since 3.0 as validation should not be done at the DataNode level.
org.apache.cayenne.access.types.ExtendedType.validateProperty(Object, String, Object, DbAttribute, ValidationResult) since 3.0 as validation should not be done at the DataNode level.
org.apache.cayenne.access.types.FloatType.validateProperty(Object, String, Object, DbAttribute, ValidationResult) since 3.0 as validation should not be done at the DataNode level.
org.apache.cayenne.access.types.IntegerType.validateProperty(Object, String, Object, DbAttribute, ValidationResult) since 3.0 as validation should not be done at the DataNode level.
org.apache.cayenne.access.types.LongType.validateProperty(Object, String, Object, DbAttribute, ValidationResult) since 3.0 as validation should not be done at the DataNode level.
org.apache.cayenne.access.types.TimestampType.validateProperty(Object, String, Object, DbAttribute, ValidationResult) since 3.0 as validation should not be done at the DataNode level.
org.apache.cayenne.access.types.TimeType.validateProperty(Object, String, Object, DbAttribute, ValidationResult) since 3.0 as validation should not be done at the DataNode level.
org.apache.cayenne.access.types.UtilDateType.validateProperty(Object, String, Object, DbAttribute, ValidationResult) since 3.0 as validation should not be done at the DataNode level.
org.apache.cayenne.access.types.UUIDType.validateProperty(Object, String, Object, DbAttribute, ValidationResult) since 3.0

Deprecated Constructors
org.apache.cayenne.access.ClientServerChannel(DataDomain, boolean) since 3.0 as DataChannel events (incorrectly called "lifecycleEvents" in 2.0) are no longer posted by ClientServerChannel.
org.apache.cayenne.access.DataRowStore(String) since 3.0 as it instantiates an EventManager internally that can lead to dispatch thread leaks.
org.apache.cayenne.access.DataRowStore(String, Map) since 3.0 as it instantiates an EventManager internally that can lead to dispatch thread leaks.
org.apache.cayenne.dba.db2.DB2PkGenerator() since 3.0
org.apache.cayenne.dba.frontbase.FrontBasePkGenerator() since 3.0
org.apache.cayenne.access.IncrementalFaultList(IncrementalFaultList) since 3.0 - unused
org.apache.cayenne.dba.ingres.IngresPkGenerator() since 3.0
org.apache.cayenne.dba.JdbcActionBuilder(DbAdapter, EntityResolver) since 3.0 use "JdbcActionBuilder(JdbcAdapter,EntityResolver)" constructor instead.
org.apache.cayenne.dba.JdbcPkGenerator() since 3.0
org.apache.cayenne.access.trans.JoinStack() since 3.0
org.apache.cayenne.dba.openbase.OpenBasePkGenerator() since 3.0
org.apache.cayenne.dba.oracle.OraclePkGenerator() since 3.0
org.apache.cayenne.query.Ordering(Expression, boolean)
org.apache.cayenne.query.Ordering(Expression, boolean, boolean)
org.apache.cayenne.query.Ordering(String, boolean)
org.apache.cayenne.query.Ordering(String, boolean, boolean)
org.apache.cayenne.dba.postgres.PostgresPkGenerator() since 3.0
org.apache.cayenne.access.jdbc.RowDescriptor(ColumnDescriptor[], ExtendedTypeMap) since 3.0 use `RowDescriptorBuilder`.
org.apache.cayenne.access.jdbc.RowDescriptor(ResultSet, ExtendedTypeMap) since 3.0 use `RowDescriptorBuilder`.
org.apache.cayenne.access.jdbc.RowDescriptor(ResultSet, ExtendedTypeMap, Map) since 3.0 use `RowDescriptorBuilder`.
org.apache.cayenne.access.jdbc.SQLTemplateAction(SQLTemplate, DbAdapter) since 3.0 use a `SQLTemplateAction.SQLTemplateAction(SQLTemplate, DbAdapter, EntityResolver)` constructor.
org.apache.cayenne.dba.sybase.SybasePkGenerator() since 3.0

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

Copyright © 2001-2009 Apache Cayenne. All Rights Reserved.