Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionsince 4.5since 4.3.1,
FieldLookupPolicyshould be specified explicitly when creating the AggregationOperationContext.extended$outsyntax was superseded by$merge. Support for the extended syntax has been removed with MongoDB 5, useMergeOperationinstead.extended$outsyntax was superseded by$merge. Support for the extended syntax has been removed with MongoDB 5, useMergeOperationinstead.extended$outsyntax was superseded by$merge. Support for the extended syntax has been removed with MongoDB 5, useMergeOperationinstead.extended$outsyntax was superseded by$merge. Support for the extended syntax has been removed with MongoDB 5, useMergeOperationinstead.extended$outsyntax was superseded by$merge. Support for the extended syntax has been removed with MongoDB 5, useMergeOperationinstead.extended$outsyntax was superseded by$merge. Support for the extended syntax has been removed with MongoDB 5, useMergeOperationinstead.extended$outsyntax was superseded by$merge. Support for the extended syntax has been removed with MongoDB 5, useMergeOperationinstead.since 4.4 - Please useIndexed.expireAfter()instead.since 4.5, in favor ofIndexOperations.createIndex(IndexDefinition).since 4.5, in favor ofReactiveIndexOperations.createIndex(IndexDefinition).since 4.5since 4.1.1since 4.5since 4.5since 4.5since 4.5since 4.5since 4.5since 4.5since 4.5since 4.5since 4.2.0
-
Deprecated PackagesPackageDescriptionsince MongoDB server version 5.0
-
Deprecated InterfacesInterfaceDescriptionsince 4.0 in favor of
org.springframework.data.mongodb.core.aggregation.since 2.2. Theevalcommand has been removed without replacement in MongoDB Server 4.2.0.
-
Deprecated ClassesClassDescriptionsince 4.5since 4.3.1since 4.5, use
ValidatingEntityCallbackrespectivelyReactiveValidatingEntityCallbackinstead to ensure ordering and interruption of saving when encountering validation constraint violations.since 3.4 in favor oforg.springframework.data.mongodb.core.aggregation.since 3.4 in favor oforg.springframework.data.mongodb.core.aggregation.since 3.4 in favor oforg.springframework.data.mongodb.core.aggregation.since 3.4 in favor oforg.springframework.data.mongodb.core.aggregation.since 4.5since 2.2. Theevalcommand has been removed without replacement in MongoDB Server 4.2.0.since 2.2. Theevalcommand has been removed without replacement in MongoDB Server 4.2.0.since 4.5since 4.5since 4.5since 4.5since 4.5since 4.5since 4.5since 4.5since 4.5since 4.2.0
-
Deprecated Enum ClassesEnum ClassDescriptionextended
$outsyntax was superseded by$merge. Support for the extended syntax has been removed with MongoDB 5, useMergeOperationinstead.
-
Deprecated MethodsMethodDescriptionsince 2.2 in favor of
AggregationOperation.toPipelineStages(AggregationOperationContext).since 4.3.1,FieldLookupPolicyshould be specified explicitly when creating the AggregationOperationContext.since 4.1, useAggregationOptions.getHintObject()instead.extended$outsyntax was superseded by$merge. Support for the extended syntax has been removed with MongoDB 5, useMergeOperationinstead.extended$outsyntax was superseded by$merge. Support for the extended syntax has been removed with MongoDB 5, useMergeOperationinstead.extended$outsyntax was superseded by$merge. Support for the extended syntax has been removed with MongoDB 5, useMergeOperationinstead.extended$outsyntax was superseded by$merge. Support for the extended syntax has been removed with MongoDB 5, useMergeOperationinstead.extended$outsyntax was superseded by$merge. Support for the extended syntax has been removed with MongoDB 5, useMergeOperationinstead.extended$outsyntax was superseded by$merge. Support for the extended syntax has been removed with MongoDB 5, useMergeOperationinstead.since MongoDB server version 4.4since MongoDB server version 4.4since 4.4 - Please useIndexed.expireAfter()instead.since 4.5, in favor ofIndexOperations.createIndex(IndexDefinition).since 4.5, in favor ofReactiveIndexOperations.createIndex(IndexDefinition).org.springframework.data.mongodb.core.MongoClientSettingsFactoryBean.setStreamFactoryFactory(Object) since 4.3, will be removed in the MongoDB 5.0 driver in favor ofcom.mongodb.connection.TransportSettings.since 2.2. Theevalcommand has been removed in MongoDB Server 4.2.0. Use Aggregations withAggregation.geoNear(NearQuery, String)instead.since 2.2. Theevalcommand has been removed in MongoDB Server 4.2.0. Use Aggregations withAggregation.geoNear(NearQuery, String)instead.since 3.4 in favor ofMongoOperations.aggregate(TypedAggregation, Class).since 3.4 in favor ofMongoOperations.aggregate(TypedAggregation, Class).since 3.4 in favor ofMongoOperations.aggregate(TypedAggregation, Class).since 3.4 in favor ofMongoOperations.aggregate(TypedAggregation, Class).since 2.2. Theevalcommand has been removed without replacement in MongoDB Server 4.2.0.since 3.4 in favor ofMongoTemplate.aggregate(TypedAggregation, Class).since 4.1.1don't call this method as the restricted type handling will undergo some significant changes going forward.since 2.2. Theevalcommand has been removed in MongoDB Server 4.2.0. Use Aggregations withAggregation.geoNear(NearQuery, String)instead.since 2.2. Theevalcommand has been removed in MongoDB Server 4.2.0. Use Aggregations withAggregation.geoNear(NearQuery, String)instead.since 3.4 in favor ofReactiveMongoOperations.aggregate(TypedAggregation, Class).since 3.4 in favor ofReactiveMongoOperations.aggregate(TypedAggregation, Class).
-
Deprecated ConstructorsConstructorDescriptionuse the constructor taking a
DbRefResolverinstead.since 2.1. Please useDefaultIndexOperations(MongoOperations, String, Class).since 2.1. Please useDefaultIndexOperations(MongoOperations, String, Class).use the constructor version withValueExpressionDelegateuse the constructor version withValueExpressionDelegatesince 4.4, use the constructors acceptingQueryMethodValueEvaluationContextAccessorinstead.since 4.4.0, use the constructors acceptingQueryMethodValueEvaluationContextAccessorinstead.since 4.4.0, use the constructors acceptingValueExpressionDelegateinstead.since 4.4.0, use the constructors acceptingValueExpressionDelegateinstead.since 4.4.0, use the constructors acceptingValueExpressionDelegateinstead.since 4.4.0, use the constructors acceptingQueryMethodValueEvaluationContextAccessorinstead.since 4.4.0, use the constructors acceptingValueExpressionDelegateinstead.since 4.4.0, useParameterBindingContext(ValueProvider, ValueExpressionEvaluator)instead.since 4.4.0, useParameterBindingContext(ValueProvider, ExpressionParser, Supplier)instead.
-
Deprecated Annotation Interface ElementsAnnotation Interface ElementDescriptionsince MongoDB server version 4.4since 4.4 - Please use
Indexed.expireAfter()instead.
MappingMongoConverterParser.potentiallyCreateMappingContext(Element, ParserContext, BeanDefinition, String, boolean)instead.