preparing for 1.0.0.M1 MongoDB release
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
<!-- adds module jars to the distribution archive under the 'dist' directory -->
|
||||
<includes>
|
||||
<include>org.springframework.data:spring-data-document-core</include>
|
||||
<include>org.springframework.data:spring-data-couchdb</include>
|
||||
<!-- <include>org.springframework.data:spring-data-couchdb</include> -->
|
||||
<include>org.springframework.data:spring-data-mongodb</include>
|
||||
</includes>
|
||||
<binaries>
|
||||
@@ -57,7 +57,7 @@
|
||||
see pom.xml 'maven-source-plugin' declaration -->
|
||||
<includes>
|
||||
<include>org.springframework.data:spring-data-document-core</include>
|
||||
<include>org.springframework.data:spring-data-couchdb</include>
|
||||
<!-- <include>org.springframework.data:spring-data-couchdb</include> -->
|
||||
<include>org.springframework.data:spring-data-mongodb</include>
|
||||
</includes>
|
||||
<binaries>
|
||||
|
||||
@@ -952,74 +952,71 @@ public class AppConfig {
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para><literal>Criteria</literal> <emphasis
|
||||
role="bold">all</emphasis><literal>(Object o) </literal>creates
|
||||
role="bold">all</emphasis><literal>(Object o) </literal>Creates
|
||||
a criterion using the <literal>$all</literal> operator</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>Criteria</literal> <emphasis
|
||||
role="bold">exists</emphasis><literal>(boolean b)
|
||||
</literal>creates a criterion using the
|
||||
</literal>Creates a criterion using the
|
||||
<literal>$exists</literal> operator</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>Criteria</literal> <emphasis
|
||||
role="bold">gt</emphasis><literal>(Object o) </literal>creates a
|
||||
role="bold">gt</emphasis><literal>(Object o) </literal>Creates a
|
||||
criterion using the <literal>$gt</literal> operator</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>Criteria</literal> <emphasis
|
||||
role="bold">gte</emphasis><literal>(Object o) </literal>creates
|
||||
role="bold">gte</emphasis><literal>(Object o) </literal>Creates
|
||||
a criterion using the <literal>$gte</literal> operator</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>Criteria</literal> <emphasis
|
||||
role="bold">in</emphasis><literal>(Object... o)
|
||||
</literal>creates a criterion using the <literal>$in</literal>
|
||||
</literal>Creates a criterion using the <literal>$in</literal>
|
||||
operator</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>Criteria</literal> <emphasis
|
||||
role="bold">is</emphasis><literal>(Object o) </literal>creates a
|
||||
role="bold">is</emphasis><literal>(Object o) </literal>Creates a
|
||||
criterion using the <literal>$is</literal> operator</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>Criteria</literal> <emphasis
|
||||
role="bold">lt</emphasis><literal>(Object o) </literal>creates a
|
||||
role="bold">lt</emphasis><literal>(Object o) </literal>Creates a
|
||||
criterion using the <literal>$lt</literal> operator</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>Criteria</literal> <emphasis
|
||||
role="bold">lte</emphasis><literal>(Object o) </literal>creates
|
||||
role="bold">lte</emphasis><literal>(Object o) </literal>Creates
|
||||
a criterion using the <literal>$lte</literal> operator</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>
|
||||
<literal>Criteria</literal>
|
||||
|
||||
<emphasis role="bold">mod</emphasis>
|
||||
|
||||
<literal>(Number value, Number remainder)</literal>
|
||||
</para>
|
||||
<para><literal>Criteria</literal><emphasis
|
||||
role="bold">mod</emphasis><literal>(Number value, Number
|
||||
remainder) </literal>Creates a criterion using the
|
||||
<literal>$mod</literal> operator</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>Criteria</literal> <emphasis
|
||||
role="bold">nin</emphasis><literal>(Object... o)
|
||||
</literal>creates a criterion using the <literal>$nin</literal>
|
||||
</literal>Creates a criterion using the <literal>$nin</literal>
|
||||
operator</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>Criteria</literal> <emphasis
|
||||
role="bold">not</emphasis><literal>() </literal>creates a
|
||||
role="bold">not</emphasis><literal>() </literal>Creates a
|
||||
criterion using the <literal>$not</literal> meta operator which
|
||||
affects the clause directly following</para>
|
||||
</listitem>
|
||||
@@ -1027,26 +1024,26 @@ public class AppConfig {
|
||||
<listitem>
|
||||
<para><literal>Criteria</literal> <emphasis
|
||||
role="bold">regex</emphasis><literal>(String re)
|
||||
</literal>creates a criterion using a
|
||||
</literal>Creates a criterion using a
|
||||
<literal>$regex</literal></para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>Criteria</literal> <emphasis
|
||||
role="bold">size</emphasis><literal>(int s) </literal>creates a
|
||||
role="bold">size</emphasis><literal>(int s) </literal>Creates a
|
||||
criterion using the <literal>$size</literal> operator</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>Criteria</literal> <emphasis
|
||||
role="bold">type</emphasis><literal>(int t) </literal>creates a
|
||||
role="bold">type</emphasis><literal>(int t) </literal>Creates a
|
||||
criterion using the <literal>$type</literal> operator</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>void </literal> <emphasis
|
||||
role="bold">or</emphasis><literal>(List<Query> queries)
|
||||
</literal>creates an or query using the <literal>$or</literal>
|
||||
</literal>Creates an or query using the <literal>$or</literal>
|
||||
operator for all of the provided queries</para>
|
||||
|
||||
<para />
|
||||
@@ -1140,70 +1137,70 @@ public class AppConfig {
|
||||
<listitem>
|
||||
<para><literal>Update</literal> <emphasis
|
||||
role="bold">addToSet</emphasis><literal>(String key, Object
|
||||
value)</literal> update using the <literal>$addToSet</literal>
|
||||
value)</literal> Update using the <literal>$addToSet</literal>
|
||||
update modifier</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>Update</literal> <emphasis
|
||||
role="bold">inc</emphasis><literal>(String key, Number
|
||||
inc)</literal> update using the <literal>$inc</literal> update
|
||||
inc)</literal> Update using the <literal>$inc</literal> update
|
||||
modifier</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>Update</literal> <emphasis
|
||||
role="bold">pop</emphasis><literal>(String key, Update.Position
|
||||
pos)</literal> update using the <literal>$pop</literal> update
|
||||
pos)</literal> Update using the <literal>$pop</literal> update
|
||||
modifier</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>Update</literal> <emphasis
|
||||
role="bold">pull</emphasis><literal>(String key, Object
|
||||
value)</literal> update using the <literal>$pull</literal>
|
||||
value)</literal> Update using the <literal>$pull</literal>
|
||||
update modifier</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>Update</literal> <emphasis
|
||||
role="bold">pullAll</emphasis><literal>(String key, Object[]
|
||||
values)</literal> update using the <literal>$pullAll</literal>
|
||||
values)</literal> Update using the <literal>$pullAll</literal>
|
||||
update modifier</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>Update</literal> <emphasis
|
||||
role="bold">push</emphasis><literal>(String key, Object
|
||||
value)</literal> update using the <literal>$push</literal>
|
||||
value)</literal> Update using the <literal>$push</literal>
|
||||
update modifier</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>Update</literal> <emphasis
|
||||
role="bold">pushAll</emphasis><literal>(String key, Object[]
|
||||
values)</literal> update using the <literal>$pushAll</literal>
|
||||
values)</literal> Update using the <literal>$pushAll</literal>
|
||||
update modifier</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>Update</literal> <emphasis
|
||||
role="bold">rename</emphasis><literal>(String oldName, String
|
||||
newName)</literal> update using the <literal>$rename</literal>
|
||||
newName)</literal> Update using the <literal>$rename</literal>
|
||||
update modifier</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>Update</literal> <emphasis
|
||||
role="bold">set</emphasis><literal>(String key, Object
|
||||
value)</literal> update using the <literal>$set</literal> update
|
||||
value)</literal> Update using the <literal>$set</literal> update
|
||||
modifier</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para><literal>Update</literal> <emphasis
|
||||
role="bold">unset</emphasis><literal>(String key)</literal>
|
||||
update using the <literal>$unset</literal> update
|
||||
Update using the <literal>$unset</literal> update
|
||||
modifier</para>
|
||||
</listitem>
|
||||
</itemizedlist></para>
|
||||
|
||||
@@ -1,5 +1,28 @@
|
||||
Spring Datastore Document 1.0.0 Milestone 1 (?, 2010)
|
||||
Spring Data Document Changelog
|
||||
=============================================
|
||||
|
||||
New Features
|
||||
* Lot's of good stuff
|
||||
Changes in version 1.0.0.M1 MongoDB (2011-02-14)
|
||||
------------------------------------------------
|
||||
|
||||
General
|
||||
* BeanFactory for basic configuration of Mongo environment
|
||||
* Namespace for basic configuration of Mongo environment
|
||||
|
||||
Core Data Access
|
||||
|
||||
* Introduce MongoTemplate implementation with methods defined in MongoOperations interface
|
||||
* MongoTemplate support for insert, find, save, update, remove
|
||||
* MongoTemplate support for basic POJO serialization based on bean properties
|
||||
* Allow MongoTemplate methods to use a default collection name
|
||||
* Exception translation in MongoTemplate to Spring's DAO exception hierarchy
|
||||
* Support for update modifiers to allow for partial document updates
|
||||
* Expose WriteConcern settings on MongoTemplate used for any write operations
|
||||
* Support in MongoTemplate for enabling either logging or throwing exceptions based on value of WriteResult return value.
|
||||
|
||||
Repository
|
||||
|
||||
* Introducing generic repository implementation for MongoDB
|
||||
* Automatic implementation of interface query method names on repositories.
|
||||
* Namespace support for Mongo repositories
|
||||
* Allow usage of pagination and sorting with repositories
|
||||
|
||||
|
||||
@@ -199,3 +199,18 @@
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
=======================================================================
|
||||
|
||||
To the extent any open source subcomponents are licensed under the EPL and/or other
|
||||
similar licenses that require the source code and/or modifications to
|
||||
source code to be made available (as would be noted above), you may obtain a
|
||||
copy of the source code corresponding to the binaries for such open source
|
||||
components and modifications thereto, if any, (the "Source Files"), by
|
||||
downloading the Source Files from http://www.springsource.org/download,
|
||||
or by sending a request, with your name and address to: VMware, Inc., 3401 Hillview
|
||||
Avenue, Palo Alto, CA 94304, United States of America or email info@vmware.com. All
|
||||
such requests should clearly specify: OPEN SOURCE FILES REQUEST, Attention General
|
||||
Counsel. VMware shall mail a copy of the Source Files to you on a CD or equivalent
|
||||
physical medium. This offer to obtain a copy of the Source Files is valid for three
|
||||
years from the date you acquired this Software product.
|
||||
@@ -1,21 +1,10 @@
|
||||
========================================================================
|
||||
== NOTICE file corresponding to section 4 d of the Apache License, ==
|
||||
== Version 2.0, in this case for the Spring Integration distribution. ==
|
||||
========================================================================
|
||||
Spring Data Document 1.0
|
||||
Copyright (c) [2010-2011] SpringSource, a division of VMware, Inc.
|
||||
|
||||
This product includes software developed by
|
||||
the Apache Software Foundation (http://www.apache.org).
|
||||
This product is licensed to you under the Apache License, Version 2.0 (the "License").
|
||||
You may not use this product except in compliance with the License.
|
||||
|
||||
The end-user documentation included with a redistribution, if any,
|
||||
must include the following acknowledgement:
|
||||
|
||||
"This product includes software developed by the Spring Framework
|
||||
Project (http://www.springframework.org)."
|
||||
|
||||
Alternatively, this acknowledgement may appear in the software itself,
|
||||
if and wherever such third-party acknowledgements normally appear.
|
||||
|
||||
The names "Spring", "Spring Framework", and "Spring Data" must
|
||||
not be used to endorse or promote products derived from this software
|
||||
without prior written permission. For written permission, please contact
|
||||
enquiries@springsource.com.
|
||||
This product may include a number of subcomponents with
|
||||
separate copyright notices and license terms. Your use of the source
|
||||
code for the these subcomponents is subject to the terms and
|
||||
conditions of the subcomponent's license, as noted in the LICENSE file.
|
||||
@@ -1,5 +1,5 @@
|
||||
SPRING DATASTORE DOCUMENT 1.0.0 M1 (? ? 2010)
|
||||
-------------------------------------------------
|
||||
SPRING DATASTORE DOCUMENT 1.0.0.M1 MongoDB
|
||||
------------------------------------------
|
||||
|
||||
Spring Datastore Document is released under the terms of the Apache Software License Version 2.0 (see license.txt).
|
||||
|
||||
@@ -14,4 +14,4 @@ The reference manual and javadoc are located in the 'docs' directory.
|
||||
ADDITIONAL RESOURCES:
|
||||
|
||||
Spring Data Homepage: http://www.springsource.org/spring-data
|
||||
Spring Data Forum: http://forum.springsource.org/forumdisplay.php?f=??
|
||||
Spring Data Forum: http://forum.springsource.org/forumdisplay.php?f=80
|
||||
|
||||
Reference in New Issue
Block a user