Commit Graph

356 Commits

Author SHA1 Message Date
Thomas Risberg
bcbacf981d DATADOC-48 added more complexity to test 2011-04-06 18:49:45 -04:00
Thomas Risberg
c5c8a78acb added test for $in 2011-04-06 18:49:45 -04:00
Mark Pollack
5359af9745 DATADOC-5 - Provide detailed mapping of Mongo errors onto Spring DAO exception 2011-04-06 18:35:00 -04:00
Mark Pollack
9fe27e590d DATADOC-62 - Create abstract @Configuration class for Mongo Configuration 2011-04-06 18:21:51 -04:00
Mark Pollack
40d9930b2c DATADOC-75 - Rename setConverters(...) to addConverters(...) in MongoConverter implementations 2011-04-06 16:31:45 -04:00
Jon Brisbin
ce17352702 DATADOC-79: Check for situation that causes an error if a unique index doesn't also specify sparse=true and issue a warning message in the log. 2011-04-06 14:27:06 -05:00
Mark Pollack
2e874e6dbc DATADOC-67 - Criteria API to support keywords for geo search 2011-04-06 14:34:35 -04:00
Oliver Gierke
fbc45f5b52 Removed forced conversion of id property to ObjectId before querying. 2011-04-06 18:52:42 +02:00
J. Brisbin
de19359eea Merge branch 'master' of github.com:SpringSource/spring-data-document 2011-04-06 11:51:27 -05:00
J. Brisbin
ff78ecf1be Fix for test case using a different constructor 2011-04-06 11:51:13 -05:00
Thomas Risberg
f774a607ef fixed added additional test without generated id for testPersonWithCustomIdName 2011-04-06 12:48:06 -04:00
Thomas Risberg
9fb1a9e63a added additional test without generated id for testPersonWithCustomIdName 2011-04-06 12:44:31 -04:00
Jon Brisbin
35d4998638 Added code to look for @Document(collection="customcollection") in template.insertList(), added tests for same. 2011-04-06 11:37:43 -05:00
Thomas Risberg
cdb57b1146 removed PersonInvalidId test 2011-04-06 11:51:14 -04:00
Jon Brisbin
c274bef3c8 Removed some obsolete code, changed the way the converter handles _id types. 2011-04-06 10:44:09 -05:00
Thomas Risberg
1b4edb35b0 DATADOC-48 added new @RelatedDocument annotation 2011-04-06 11:39:51 -04:00
Thomas Risberg
c8eb42a6f7 fixed test so it works on both MongoDB 1.6.5 and 1.8.0 2011-04-06 10:20:41 -04:00
Mark Pollack
a983c07b65 Change MongoTemplate.save to call getEntityCollection
MongoTemplate.getEntityCollection checks mappingContext to auto-register classes
Remove autowire option from mapping-converter xsd
Enable GeoSpatialTests
2011-04-05 23:00:17 -04:00
Mark Pollack
4175791d0b DATADOC-67 - Criteria API to support keywords for geo search 2011-04-05 16:37:38 -04:00
Jon Brisbin
b43b5aa4b2 Took out documentation reference to autowire property which was removed in previous commit. 2011-04-05 15:28:48 -05:00
Jon Brisbin
3e2a60c89a DATADOC-78: Refactored some of the code to use a new MappingContextAware interface available in spring-data-commons-core for obtaining a reference to the active MappingContext. Also added proper configuration to the namespace handler. Also tweaked the docs slightly. 2011-04-05 15:12:49 -05:00
Mark Pollack
6e1af80b5f documentation updates 2011-04-05 15:26:34 -04:00
Mark Pollack
a3e67bd0a3 update introductory docs 2011-04-05 14:04:29 -04:00
Oliver Gierke
1b5986f3ad Ignore GeoSpatialTests for now as it breaks the build and thus prevents publication of artifacts. 2011-04-05 13:23:14 +02:00
Oliver Gierke
305121ae7e DATAJPA-44 - Adapted refactorings in Spring Data Commons Core. 2011-04-05 10:58:10 +02:00
Oliver Gierke
478afae925 DATACMNS-24 - Adapted refactorings in Spring Data Commons Core. 2011-04-05 08:05:27 +02:00
Jon Brisbin
3fdd43bef8 DATADOC-78: Added code to MongoTemplate to check for overriden collection name when saving an entity without specifying a collection. Removed SLF4J from source code and reverted to commons-logging API for internal logging. 2011-04-04 15:14:42 -05:00
Jon Brisbin
b25e0c432e Added catch/ignore in base event listener to keep from blowing chunks when listener is defined with a different generic type. Added event listener to the tests. 2011-04-04 11:06:34 -05:00
J. Brisbin
ece8e7500f Tweaked docs for event handlers. 2011-04-04 08:12:52 -05:00
J. Brisbin
fac31f5ce3 Quick-and-dirty coverage of event handling the documentation 2011-04-01 14:22:59 -05:00
J. Brisbin
ba76226abd Fix for array primitives, pushing first bit of documentation 2011-04-01 11:30:32 -05:00
Thomas Risberg
979d6748ba fixed artifactId for the mongodb log4j module 2011-03-31 23:02:10 -04:00
Thomas Risberg
db45349553 fixed coordinates for Penn Station 2011-03-31 23:01:01 -04:00
Mark Pollack
7e774428e4 DATADOC-67 - Criteria API to support keywords for geo search 2011-03-31 18:48:49 -04:00
Thomas Risberg
2b9b082978 DATADOC-72 renamed Query.and() to Query.addCriteria() to avoid confusion with Criteria.add() method that supports chained Criteria 2011-03-31 18:33:51 -04:00
Thomas Risberg
f4f9eac03a DATADOC-48 added support for removing any related Mongo documents when entities are removed 2011-03-31 17:11:19 -04:00
Mark Pollack
a13579f487 Remove duplication of IndexDefinition classes. 2011-03-31 16:49:01 -04:00
Thomas Risberg
f9f26e7668 DATADOC-48 added advice for moving changeset from detached entity to newly merged persistent entity 2011-03-31 13:43:13 -04:00
Thomas Risberg
8723d85570 DATADOC-76 added documenattion for findAndRemove 2011-03-31 09:59:53 -04:00
Thomas Risberg
bbd55fa456 DATADOC-76 added documenattion for findAndRemove 2011-03-31 09:25:19 -04:00
Thomas Risberg
52f42b29d7 DATADOC-76 added support for findAndRemove to MongoTemplate 2011-03-30 20:06:44 -04:00
Jon Brisbin
2c5d0b3893 Fix for null dbobjects causing NPEs in event framework. 2011-03-30 17:08:38 -05:00
Jon Brisbin
27ba19eac6 Tweaked the README to cover configuring the collection name using Log4J pattern. 2011-03-30 16:32:53 -05:00
Jon Brisbin
1bc042666a Merge branch 'master' of github.com:SpringSource/spring-data-document
Conflicts:
	spring-data-mongodb/src/test/java/org/springframework/data/document/mongodb/mapping/MappingTests.java
2011-03-30 16:28:01 -05:00
Jon Brisbin
9b97c27599 Use Log4J pattern to generate collection name, fix for test data cleanup. 2011-03-30 16:21:23 -05:00
Thomas Risberg
057eeb101c DATADOC-48 using the entity lifecycle for transaction synch registration 2011-03-29 21:17:16 -04:00
Thomas Risberg
bfb3db5a2e more tests for the chained Criteria support 2011-03-29 21:17:16 -04:00
Mark Pollack
c0b8a8e227 DATADOC-74 Update to version 2.4 of mongo driver 2011-03-29 18:01:10 -04:00
Jon Brisbin
8e9cf3a9b1 Fix for build, which was failing on MvcEvent being null in one of the tests. 2011-03-29 15:17:23 -05:00
J. Brisbin
1b9726c3b6 Merge branch 'master' of github.com:SpringSource/spring-data-document 2011-03-29 15:05:26 -05:00