diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoOperations.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoOperations.java index d40343111..b289d2b10 100644 --- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoOperations.java +++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoOperations.java @@ -247,7 +247,7 @@ public interface MongoOperations { * Query for a list of objects of type T from the collection used by the entity class. *

* The object is converted from the MongoDB native representation using an instance of {@see MongoConverter}. Unless - * configured otherwise, an instance of SimpleMongoConverter will be used. + * configured otherwise, an instance of MappingMongoConverter will be used. *

* If your collection does not contain a homogeneous collection of types, this operation will not be an efficient way * to map objects since the test for class type is done in the client and not on the server. @@ -261,7 +261,7 @@ public interface MongoOperations { * Query for a list of objects of type T from the specified collection. *

* The object is converted from the MongoDB native representation using an instance of {@see MongoConverter}. Unless - * configured otherwise, an instance of SimpleMongoConverter will be used. + * configured otherwise, an instance of MappingMongoConverter will be used. *

* If your collection does not contain a homogeneous collection of types, this operation will not be an efficient way * to map objects since the test for class type is done in the client and not on the server. @@ -382,7 +382,7 @@ public interface MongoOperations { * specified type. *

* The object is converted from the MongoDB native representation using an instance of {@see MongoConverter}. Unless - * configured otherwise, an instance of SimpleMongoConverter will be used. + * configured otherwise, an instance of MappingMongoConverter will be used. *

* The query is specified as a {@link Query} which can be created either using the {@link BasicQuery} or the more * feature rich {@link Query}. @@ -399,7 +399,7 @@ public interface MongoOperations { * type. *

* The object is converted from the MongoDB native representation using an instance of {@see MongoConverter}. Unless - * configured otherwise, an instance of SimpleMongoConverter will be used. + * configured otherwise, an instance of MappingMongoConverter will be used. *

* The query is specified as a {@link Query} which can be created either using the {@link BasicQuery} or the more * feature rich {@link Query}. @@ -422,7 +422,7 @@ public interface MongoOperations { * Map the results of an ad-hoc query on the collection for the entity class to a List of the specified type. *

* The object is converted from the MongoDB native representation using an instance of {@see MongoConverter}. Unless - * configured otherwise, an instance of SimpleMongoConverter will be used. + * configured otherwise, an instance of MappingMongoConverter will be used. *

* The query is specified as a {@link Query} which can be created either using the {@link BasicQuery} or the more * feature rich {@link Query}. @@ -438,7 +438,7 @@ public interface MongoOperations { * Map the results of an ad-hoc query on the specified collection to a List of the specified type. *

* The object is converted from the MongoDB native representation using an instance of {@see MongoConverter}. Unless - * configured otherwise, an instance of SimpleMongoConverter will be used. + * configured otherwise, an instance of MappingMongoConverter will be used. *

* The query is specified as a {@link Query} which can be created either using the {@link BasicQuery} or the more * feature rich {@link Query}. @@ -504,7 +504,7 @@ public interface MongoOperations { * type. The first document that matches the query is returned and also removed from the collection in the database. *

* The object is converted from the MongoDB native representation using an instance of {@see MongoConverter}. Unless - * configured otherwise, an instance of SimpleMongoConverter will be used. + * configured otherwise, an instance of MappingMongoConverter will be used. *

* The query is specified as a {@link Query} which can be created either using the {@link BasicQuery} or the more * feature rich {@link Query}. @@ -557,7 +557,7 @@ public interface MongoOperations { * Insert the object into the specified collection. *

* The object is converted to the MongoDB native representation using an instance of {@see MongoConverter}. Unless - * configured otherwise, an instance of SimpleMongoConverter will be used. + * configured otherwise, an instance of MappingMongoConverter will be used. *

* Insert is used to initially store the object into the database. To update an existing object use the save method. * @@ -595,7 +595,7 @@ public interface MongoOperations { * object is not already present, that is an 'upsert'. *

* The object is converted to the MongoDB native representation using an instance of {@see MongoConverter}. Unless - * configured otherwise, an instance of SimpleMongoConverter will be used. + * configured otherwise, an instance of MappingMongoConverter will be used. *

* If you object has an "Id' property, it will be set with the generated Id from MongoDB. If your Id property is a * String then MongoDB ObjectId will be used to populate that string. Otherwise, the conversion from ObjectId to your @@ -612,7 +612,7 @@ public interface MongoOperations { * is an 'upsert'. *

* The object is converted to the MongoDB native representation using an instance of {@see MongoConverter}. Unless - * configured otherwise, an instance of SimpleMongoConverter will be used. + * configured otherwise, an instance of MappingMongoConverter will be used. *

* If you object has an "Id' property, it will be set with the generated Id from MongoDB. If your Id property is a * String then MongoDB ObjectId will be used to populate that string. Otherwise, the conversion from ObjectId to your diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoTemplate.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoTemplate.java index 808bb2fe7..8ca8b4ba4 100644 --- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoTemplate.java +++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoTemplate.java @@ -1335,7 +1335,7 @@ public class MongoTemplate implements MongoOperations, ApplicationContextAware { /** * Map the results of an ad-hoc query on the default MongoDB collection to a List of the specified type. The object is * converted from the MongoDB native representation using an instance of {@see MongoConverter}. Unless configured - * otherwise, an instance of SimpleMongoConverter will be used. The query document is specified as a standard DBObject + * otherwise, an instance of MappingMongoConverter will be used. The query document is specified as a standard DBObject * and so is the fields specification. Can be overridden by subclasses. * * @param collectionName name of the collection to retrieve the objects from