Deprecated API
Contents
-
InterfaceDescriptionsince 4.1 use
DataChannelQueryFilter
andDataChannelSyncFilter
since 4.1 in favor ofDataChannelSyncFilterChain
andDataChannelQueryFilterChain
since 4.0 renamed to PropertyDescriptor.
-
ClassDescriptionthis implementation is deprecated since 4.2,
DefaultDataDomainFlushAction
is usedsince 4.2since 4.2since 4.2since 4.2since 4.2since 4.2since 4.2this class should gone with theSelectQuery
since 4.2, OpenBase is pretty much obsolete and not testedsince 4.2since 4.2since 4.2since 4.2 in favour of type-specific set of properties, seePropertyFactory
andorg.apache.cayenne.exp.property
package.since 4.2, useObjectSelect
since 4.1. This can be implemented as a custom strategy outside Cayenne. There's no need for this object to be in Cayenne.since 4.2, useTransactionDescriptor.defaultDescriptor()
-
FieldDescriptionsince 4.0 used in a method that itself should be deprecated, so this is a temp codesince 4.1 this field is unusedsince 4.1 domain filters replaced with query and sync filterssince 4.0 renamed to
Constants.JDBC_MAX_QUEUE_WAIT_TIME
. Property name is preserved.since 4.1, use query and sync filters insteadsince 4.0 BatchQueryBuilderfactory is attached to the DataNode.since 4.2 unusedsince 4.2 usePropertyFactory.COUNT
-
MethodDescriptionsince 4.0 avoid using this directly. Transaction management at this level will be eventually removedsince 4.1 use
DataDomain.addQueryFilter(DataChannelQueryFilter)
andDataDomain.addSyncFilter(DataChannelSyncFilter)
insteadsince 4.1 useDataDomain.getQueryFilters()
andDataDomain.getSyncFilters()
since 4.0 properties are processed by the DI provider.since 4.1 useDataDomain.removeQueryFilter(DataChannelQueryFilter)
andDataDomain.removeSyncFilter(DataChannelSyncFilter)
insteadsince 4.0since 4.0. Please use implementation specific methods to perform cache management tasks.since 4.1, useCayenne.makePath(String...)
insteadsince 4.1 useCayenneRuntimeException.getExceptionLabel()
since 4.0 as class loading should not happen here.since 4.2 asSelectQuery
is deprecated.DbAdapter.getSelectTranslator(FluentSelect, EntityResolver)
replaces this method.Returns true if supplied type can have a length attribute as a part of column definition.since 4.2, useBaseProperty.getExpression()
method insteadsince 4.0 this method based on statically defined class loading algorithm is not going to work in environments like OSGi.AdhocObjectFactory
should be used as it can provide the environment-specific class loading policy.since 4.2since 4.1 useSelectQueryDescriptor.addPrefetch(String, int)
since 4.1 useSelectQueryDescriptor.getPrefetchesMap()
.since 4.1 useSelectQueryDescriptor.setPrefetchesMap(HashMap)
.since 4.2 useColumnSelect.avg(NumericProperty)
since 4.2 useColumnSelect.sum(NumericProperty)
since 4.2 useObjectSelect.avg(NumericProperty)
since 4.2 useObjectSelect.sum(NumericProperty)
since 4.0, useSelectQuery.dataRowQuery(Class, Expression)
to create DataRow query instead.since 4.2 as part ofSelectQuery
deprecationsince 4.2 UseSQLSelect.param(String, Object)
since 4.2. UseSQLSelect.scalarQuery(String, Class)
method.since 4.2. UseSQLSelect.scalarQuery(String, String, Class)
method.since 4.2. UseSQLSelect.columnQuery(String)
since 4.2. UseSQLSelect.columnQuery(String, Class...)
since 4.2. UseSQLSelect.columnQuery(String, String)
since 4.2. UseSQLSelect.columnQuery(String, String, Class...)
since 4.0 this method based on statically defined class loading algorithm is not going to work in environments like OSGi.AdhocObjectFactory
should be used as it can provide the environment-specific class loading policy.
-
ConstructorDescriptionsince 4.0 unusedsince 4.2 as
SelectQuery
is deprecated.since 4.0, "refresh all" query will drop all cache contentssince 4.2. UseTransactionDescriptor.builder()
method instead.since 4.2. UseTransactionDescriptor.builder()
method instead.since 4.2. UseTransactionDescriptor.builder()
method instead.