DATACMNS-15 - Added support to discover Distinct keyword.

Query method names now support Distinct in method name prefixes. Beyond that I laxed the prefix constraints a little so that it can potentially contain anything before a 'By' separator:

- findByLastname -> simply query
- findUsersByLastname -> simple query
- findUsersDistinctByFirstname -> distinct query
- findDistinctUsersByFirstname -> distinct query
- findDistinctByLastname -> distinct query
This commit is contained in:
Oliver Gierke
2011-02-21 18:08:16 +01:00
parent 5f89ccf966
commit aeee6935f5
3 changed files with 75 additions and 9 deletions

View File

@@ -1,6 +1,13 @@
Spring Data Commons Changelog
=============================================
Changes in version 1.0.0.M4
----------------------------------------
Repository
* Improved ParameterAccessor infrastructure
* Added support for 'Distinct' keyword in finder method names
Changes in version 1.0.0.M3 (2011-02-09)
----------------------------------------