diff --git a/src/docbkx/reference/mongodb.xml b/src/docbkx/reference/mongodb.xml index 052fdc586..2a2fb2a07 100644 --- a/src/docbkx/reference/mongodb.xml +++ b/src/docbkx/reference/mongodb.xml @@ -244,6 +244,69 @@ MongoTemplate] - <findOne using query: { "name" : "Joe"} in db.collection: da LoggingEventListener] - <onAfterLoad: { "_id" : "1234" , "name" : "Joe"}> LoggingEventListener] - <onAfterConvert: { "_id" : "1234" , "name" : "Joe"}, Person [id=1234, name=Joe]> MongoApp] - <Person [id=1234, name=Joe]> + + + If you are not using Maven then you would need to include the + following jars on the classpath for a basic Spring MongoDB + application: + + + + spring-data-commons-core-1.1.0.M1.jar + + + + spring-data-document-core-1.0.0.M3.jar + + + + spring-data-mongodb-1.0.0.M3.jar + + In addition to the above listed Spring Data jars you + need to provide the following dependencies: + + com.springsource.org.aopalliance-1.0.0.jar + + + + commons-logging-1.1.1.jar + + + + mongo-java-driver-2.5.3.jar + + + + spring-aop-3.0.5.RELEASE.jar + + + + spring-asm-3.0.5.RELEASE.jar + + + + spring-beans-3.0.5.RELEASE.jar + + + + spring-context-3.0.5.RELEASE.jar + + + + spring-core-3.0.5.RELEASE.jar + + + + spring-expression-3.0.5.RELEASE.jar + + + + spring-tx-3.0.5.RELEASE.jar + + + + +
@@ -714,7 +777,7 @@ Number of people = : 0 you don't provide one the driver will assign a ObjectId with a generated value. When using the MongoMappingConverter there are certain rules that govern how properties from the Java class is - mapped to this '_id' field. + mapped to this '_id' field. The following outlines what property will be mapped to the '_id' field: