Deprecated API
Contents
-
ClassDescriptionsince 2.0, use
MongoCustomConversions
.since 2.2, useAuditingEntityCallback
.since 2.2. Thegroup
command has been removed in MongoDB Server 4.2.0.since 2.2. Thegroup
command has been removed in MongoDB Server 4.2.0.since 3.0, useMongoDatabaseFactorySupport
instead.since 3.0 - UseMongoClientSettingsFactoryBean
instead.since 2.2. Theeval
command has been removed without replacement in MongoDB Server 4.2.0.since 2.2. Theeval
command has been removed without replacement in MongoDB Server 4.2.0.since 3.0, useSimpleMongoClientDatabaseFactory
instead.since 3.3, use Querydsl'sAbstractMongodbQuery
directly. This class is deprecated for removal with the next major release.since 3.3, use Querydsl'sAnyEmbeddedBuilder
directly. This class is deprecated for removal with the next major release.since 2.0. Querydsl execution is now linked via composable repositories and no longer requires to be a subclass ofSimpleMongoRepository
. UseQuerydslMongoPredicateExecutor
for standalone QuerydslPredicate
execution.
-
Enum ClassDescriptionsince 1.10. Please use
ArithmeticOperators
andComparisonOperators
instead.since 2.1. No longer supported by MongoDB as of server version 3.0.
-
MethodDescriptionuse
MongoConfigurationSupport.getMappingBasePackages()
instead.prepare to get this one removed in favor ofAggregation.skip(long)
.since 2.2 in favor ofAggregationOperation.toPipelineStages(AggregationOperationContext)
.since 3.2, useDateOperators.DateParts.millisecond(Object)
instead.since 3.2,useDateOperators.DateParts.millisecondOf(String)
instead.since 3.2, useDateOperators.DateParts.millisecondOf(AggregationExpression)
instead.since 3.2. UseMappingMongoConverter.readMap(ConversionContext, Bson, TypeInformation)
instead.since 2.1. No longer supported by MongoDB as of server version 3.0.since 2.1. No longer supported by MongoDB as of server version 3.0.since 1.7.since 1.7since 3.0 - UseMapReduceOptions.actionInline()
instead.since 3.0 - useMapReduceOptions.actionMerge()
instead.since 3.0 - useMapReduceOptions.actionReduce()
instead.since 3.0 - UseMapReduceOptions.actionReplace()
instead.since 2.2. Theeval
command has been removed in MongoDB Server 4.2.0. Use Aggregations withAggregation.geoNear(NearQuery, String)
instead.since 2.2. Theeval
command has been removed in MongoDB Server 4.2.0. Use Aggregations withAggregation.geoNear(NearQuery, String)
instead.since 2.2. Thegroup
command has been removed in MongoDB Server 4.2.0.
Please useMongoOperations.aggregate(TypedAggregation, String, Class)
with aGroupOperation
instead.since 2.2. Thegroup
command has been removed in MongoDB Server 4.2.0.
Please useMongoOperations.aggregate(TypedAggregation, String, Class)
with aGroupOperation
andMatchOperation
instead.since 2.2. Theeval
command has been removed without replacement in MongoDB Server 4.2.0.since 2.1 in favor ofMongoTemplate.convertToDocument(CollectionOptions, Class)
.since 3.2. CallMongoTemplate.ensureNotCollectionLike(Object)
instead.since 3.1.4. UseMongoTemplate.getMongoDatabaseFactory()
instead.since 2.1. UseMeta.setMaxTime(Duration)
instead.since 2.2. Please useNearQuery.limit(long)
instead.don't call this method as the restricted type handling will undergo some significant changes going forward.since 2.1. UseQuery.maxTime(Duration)
instead.since 3.0.2, useQuery.allowSecondaryReads()
.as of MongoDB 2.4. Removed in MongoDB 3.6. Use$push $each
instead.since 2.2. Theeval
command has been removed in MongoDB Server 4.2.0. Use Aggregations withAggregation.geoNear(NearQuery, String)
instead.since 2.2. Theeval
command has been removed in MongoDB Server 4.2.0. Use Aggregations withAggregation.geoNear(NearQuery, String)
instead.since 2.2. Use@Transactional
orTransactionalOperator
.since 2.2. Use@Transactional
orTransactionalOperator
.since 3.2. CallReactiveMongoTemplate.ensureNotCollectionLike(Object)
instead.since 1.10. Please useMethodReferenceNode.getMethodReference()
.since 3.0. UseMongoDatabaseFactory.getMongoDatabase()
instead.since 3.0. UseMongoDatabaseFactory.getMongoDatabase(String)
instead.since 2.1, which requires MongoDB Java driver 3.8. Returns true by default.since 2.1, which requires MongoDB Java driver 3.8. Returns true by default.
-
ConstructorDescriptionsince 2.0 please use
CollectionOptions.empty()
as entry point.use the constructor taking aDbRefResolver
instead.since 2.1. Please useDefaultIndexOperations(MongoOperations, String, Class)
.since 2.1. Please useDefaultIndexOperations(MongoOperations, String, Class)
.
-
Annotation Interface ElementDescriptionsince 2.1. No longer supported by MongoDB as of server version 3.0.since 2.1. No longer supported by MongoDB as of server version 3.0.
eval
command has been removed without replacement in MongoDB Server 4.2.0.