|
|
|
|
@ -139,6 +139,7 @@ import com.mongodb.util.JSONParseException;
@@ -139,6 +139,7 @@ import com.mongodb.util.JSONParseException;
|
|
|
|
|
* @author Christoph Strobl |
|
|
|
|
* @author Doménique Tilleuil |
|
|
|
|
* @author Laszlo Csontos |
|
|
|
|
* @author Borislav Rangelov |
|
|
|
|
*/ |
|
|
|
|
@SuppressWarnings("deprecation") |
|
|
|
|
public class MongoTemplate implements MongoOperations, ApplicationContextAware { |
|
|
|
|
@ -1498,7 +1499,7 @@ public class MongoTemplate implements MongoOperations, ApplicationContextAware {
@@ -1498,7 +1499,7 @@ public class MongoTemplate implements MongoOperations, ApplicationContextAware {
|
|
|
|
|
*/ |
|
|
|
|
@Override |
|
|
|
|
public <T> List<T> findAllAndRemove(Query query, String collectionName) { |
|
|
|
|
return findAndRemove(query, null, collectionName); |
|
|
|
|
return findAllAndRemove(query, null, collectionName); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* |
|
|
|
|
@ -2124,7 +2125,7 @@ public class MongoTemplate implements MongoOperations, ApplicationContextAware {
@@ -2124,7 +2125,7 @@ public class MongoTemplate implements MongoOperations, ApplicationContextAware {
|
|
|
|
|
* Returns all identifiers for the given documents. Will augment the given identifiers and fill in only the ones that |
|
|
|
|
* are {@literal null} currently. This would've been better solved in {@link #insertDBObjectList(String, List)} |
|
|
|
|
* directly but would require a signature change of that method. |
|
|
|
|
* |
|
|
|
|
* |
|
|
|
|
* @param ids |
|
|
|
|
* @param documents |
|
|
|
|
* @return TODO: Remove for 2.0 and change method signature of {@link #insertDBObjectList(String, List)}. |
|
|
|
|
|