docs updates

This commit is contained in:
Mark Pollack
2011-04-09 17:46:06 -04:00
parent daca16efd1
commit aa0d7c13da
2 changed files with 27 additions and 12 deletions

View File

@@ -38,13 +38,16 @@
<section id="get-started:up-to-date">
<title>Following Development</title>
<para>For information on the Spring Data source code repository, nightly
builds and snapshot artifacts please see the Spring Data home<ulink
url="http://www.springsource.org/spring-data">page</ulink>.</para>
<para>For information on the Spring Data Mongo source code repository,
nightly builds and snapshot artifacts please see the <ulink
url="http://www.springsource.org/spring-data/mongodb">Spring Data Mongo
homepage</ulink>.</para>
<para>You can help make Spring Data best serve the needs of the Spring
community by interacting with developers through the Spring Community
<ulink url="http://forum.springsource.org">forums</ulink>.</para>
<ulink url="http://forum.springsource.org">forums</ulink>. To follow
developer activity look for the mailing list information on the Spring
Data Mongo homepage.</para>
<para>If you encounter a bug or want to suggest an improvement, please
create a ticket on the Spring Data issue <ulink

View File

@@ -77,7 +77,9 @@
incrementing counters or ad-hoc CRUD operations. MongoTemplate also provides
callback methods so that it is easy for you to get a hold of the low level
API artifacts such as <literal>org.mongo.DB</literal> to communicate
directly with MongoDB.</para>
directly with MongoDB. The goal with naming conventions on various API
artifacts is to copy those in the base MongoDB Java driver so you can easily
map your existing knowledge onto the Spring APIs.</para>
<section id="mongodb-requirements">
<title>Getting Started</title>
@@ -220,6 +222,15 @@ LoggingEventListener] - &lt;onAfterConvert: { "_id" : "1234" , "name" : "Joe"},
MongoApp] - &lt;Person [id=1234, name=Joe]&gt;</programlisting>
</section>
<section>
<title>Examples Repository</title>
<para>There is an <ulink
url="https://github.com/SpringSource/spring-data-document-examples">github
repository with several examples</ulink> that you can download and play
around with to get a feel for how the library works. </para>
</section>
<section id="mongodb-connectors">
<title>Connecting to MongoDB</title>
@@ -460,13 +471,14 @@ public class AppConfig {
linkend="mongo.exception">exception translation</link> for more
information.</para>
<para>While there are many convenience methods on MongoTemplate to help
you easily perform common tasks if you should need to access the Mongo
driver API directly to access functionality not explicitly exposed by the
MongoTemplate you can use one of several Execute callback methods. These
will give you a reference to a Mongo Collection or DB object. Please see
the section <ulink url="mongo.executioncallback">Execution
Callbacks</ulink> for more information.</para>
<para>While there are many convenience methods on
<classname>MongoTemplate</classname> to help you easily perform common
tasks if you should need to access the Mongo driver API directly to access
functionality not explicitly exposed by the MongoTemplate you can use one
of several Execute callback methods. These will give you a reference to a
Mongo Collection or DB object. Please see the section <ulink
url="mongo.executioncallback">Execution Callbacks</ulink> for more
information.</para>
<para>Now let's look at a examples of how to work with the
<classname>MongoTemplate</classname> in the context of the Spring