DATADOC-147 - Update reference documentation to cover changes from M2 to M3 (partial work)

This commit is contained in:
Mark Pollack
2011-05-25 00:30:10 -04:00
parent fb39f01f25
commit f2305681d3
3 changed files with 391 additions and 360 deletions

View File

@@ -819,14 +819,14 @@ public class MongoTemplate implements MongoOperations, ApplicationContextAware {
}
final DBObject queryObject = query.getQueryObject();
final MongoPersistentEntity<?> entity = getPersistentEntity(targetClass);
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("remove using query: " + queryObject + " in collection: " + collectionName);
}
execute(collectionName, new CollectionCallback<Void>() {
public Void doInCollection(DBCollection collection) throws MongoException, DataAccessException {
DBObject dboq = mapper.getMappedObject(queryObject, entity);
WriteResult wr = null;
WriteConcern writeConcernToUse = prepareWriteConcern(writeConcern);
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("remove using query: " + queryObject + " in collection: " + collection.getName());
}
if (writeConcernToUse == null) {
wr = collection.remove(dboq);
} else {

View File

@@ -17,7 +17,7 @@
url="http://static.springframework.org/spring/docs/3.0.x/reference/beans.html">IoC</ulink>
container, <ulink
url="http://static.springsource.org/spring/docs/3.0.x/reference/validation.html#core-convert">type
conversion system</ulink>, <ulink
conv ersion system</ulink>, <ulink
url="http://static.springsource.org/spring/docs/3.0.x/reference/expressions.html">expression
language</ulink>, <ulink
url="http://static.springsource.org/spring/docs/3.0.x/reference/jmx.html">JMX

File diff suppressed because it is too large Load Diff