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)
This commit is contained in:
Oliver Gierke
2011-02-14 14:22:15 +01:00
parent e3bee8ab0e
commit 673c70b7de
14 changed files with 910 additions and 230 deletions

View File

@@ -8,6 +8,7 @@ Repository
* Adapted new metamodel API (DATADOC-47, DATACMNS-17)
* Added support for 'In' and 'NotIn' keyword (DATADOC-46)
* Fixed 'And' and 'Or' keywords
* Added support for executing QueryDsl predicates (DATADOC-41)
Changes in version 1.0.0.M1 MongoDB (2011-02-14)
------------------------------------------------