Commit Graph

25 Commits

Author SHA1 Message Date
Oliver Gierke
ef2b0235c7 DATADOC-109 - Introduced MappingContext implementation for SimpleMongoConverter.
Adapted changes in Spring Data Commons. Adapted test cases accordingly. Introduced SimpleMongoMappingContext that that reflects the meta-model assumptions in SimpleMongoConverter. Adapted repository factories accordingly as we can now assume that there is a MappingContext available always.

Refactored QueryMapper to be stateless so that we don't need to recreate instances of it. Added unit tests to verify id property to key mapping and type conversion to ObjectId.

Polished MappingTests to simply drop the database after all test were finished to make sure it starts with a clean state on a potential next run.
2011-04-28 21:35:19 +02:00
Thomas Risberg
20c9af6550 updated changelog with latest release info 2011-04-09 19:02:44 -04:00
Thomas Risberg
4d9707915d updated changelog 2011-04-09 18:04:58 -04:00
Thomas Risberg
8723d85570 DATADOC-76 added documenattion for findAndRemove 2011-03-31 09:59:53 -04:00
Oliver Gierke
673c70b7de DATADOC-41 - Initial version of QueryDsl integration for Mongo DB.
Added necessary dependencies, repository and APT processor plugin. Added QueryDslPredicateExecutor and a QueryDsl specific sub-class of SimpleMongoRepository.
Adapted MongoRepositoryFactory to use new QueryDslRepository implementation when a repository interface extends QueryDslPredicateExecutor. Added AnnotationProcessor to create query classes from QueryDsl annotations.

Todo's left open:

- move common QueryDsl integration code into Spring Data commons (see TODOs in the sourcecode)
2011-03-15 18:36:19 +01:00
J. Brisbin
032de81478 Format, organize imports, remove eclipse artifacts 2011-03-15 11:57:55 -05:00
Oliver Gierke
9bc4f9ad98 Added fix for And and Or keywords to changelog. 2011-03-03 18:06:36 +01:00
Oliver Gierke
068780c1ab DATADOC-46 - Added implementations for 'In' and 'NotIn'.
Added keyword interpretation as well as examples and test cases. Fixed bug in Criteria where a typo caused an invalid operator being used for not-in ($min -> $nin).
2011-02-25 14:12:39 +01:00
Oliver Gierke
3caa88a2da DATADOC-47 - Adapted changes of DATACMNS-17. 2011-02-25 13:58:59 +01:00
Thomas Risberg
c60232315b preparing for 1.0.0.M1 MongoDB release 2011-02-14 23:40:57 -05:00
Thomas Risberg
c981b6a5e2 Switched to use new project layout; updated build; moved things around 2010-10-06 15:02:01 -04:00
Thomas Risberg
7e8b597108 added support for $or criteria 2010-09-19 11:29:19 -04:00
Thomas Risberg
9e22617751 revorked MongoTemplate to use Query object 2010-09-18 16:22:21 -04:00
Thomas Risberg
ef2ddad903 revorked MongoTemplate to use Query object 2010-09-18 16:15:40 -04:00
Thomas Risberg
fc180f071f beginning of a simple query builder 2010-09-18 16:08:35 -04:00
Thomas Risberg
67fe517379 added additional execute signatures 2010-09-14 16:06:43 -04:00
Thomas Risberg
a08f5f3b3a added additional query signatures 2010-09-14 15:29:56 -04:00
Thomas Risberg
9c8c442b3d updated to use parent pom; added query methods 2010-09-14 13:07:25 -04:00
Thomas Risberg
2515607121 refactoring connection factory bean; adding exception translation hooks 2010-08-31 10:33:40 -04:00
Thomas Risberg
7966aba1e0 some more refactoring 2010-08-27 20:48:53 -04:00
Thomas Risberg
307481edb4 refactoring 2010-08-27 17:59:27 -04:00
Thomas Risberg
7f05a7e212 renaming, refactoring, adding MongoBeanPropertyDocumentSource 2010-08-27 17:53:32 -04:00
Thomas Risberg
1b295fd65d adding beginning of DocumentTemplates for MongoDB and CouchDB; added simple MongBeanPropertyDocumentMapper 2010-08-27 01:10:50 -04:00
trisberg
8f96a7d41a adding beginnings of some Mongo abstractions 2010-07-19 15:42:52 -04:00
trisberg
eca4edc1af beginning of the MongoDB support 2010-07-15 16:40:43 -04:00