Commit Graph

7 Commits

Author SHA1 Message Date
Oliver Gierke
312fad40e2 Fixed bug in OrderBySource.
OrderBySource can now take part in nested property resolving as well and correctly resolves properties containing a camel case letter.
2011-01-25 11:53:31 +02:00
Oliver Gierke
bd68d421da Ported bug fix for Hades #425 - PageRequest should reject 0 page size.
Applied patch provided by Stevo Slavic, thanks!
2011-01-21 02:03:02 +01:00
Oliver Gierke
bc876b7584 Introduced Property abstraction for more sophisticated query method name parsing.
The newly introduced Property class allows to find nested property paths by splitting up the raw property name along its camel case parts and trying to find a valid property for the actual type we resolve the property in. Once one is found it will use the rest of the string and try to build nested properties from it.
2011-01-07 22:17:55 +01:00
Oliver Gierke
df61026aaa Fixed RepositoryInterfaceAwareBeanPostProcessor.
Use correct bean type (FactoryBean instead of plain Factory) as well as the correct property (repositoryInterface).
2010-12-23 19:02:29 +01:00
Oliver Gierke
e1ffab6131 Simplified implementation of SimpleParameterAccessor.
Changed API of Parameters and Parameter class accordingly. Adapted test cases as well.
2010-12-07 20:47:28 +01:00
Oliver Gierke
4bd005d17b DATACMNS-10 - Introduce method name parser to build criteria based queries.
Minor tweaks to Parameter and Parameters to remove some JPA implications (1-based position indexes). Introduced PartTree abstraction that results from query parsing and allows simple API to traverse the query parts. Added AbstractQueryCreator to implement general traversing logic on PartTree and provide typed callback hooks for persistence technology specific creation of a criteria query.
2010-12-02 18:56:16 +01:00
Oliver Gierke
6194acd825 Initial commit for repository abstraction.
Extracted common functionality from project Hades to build a common infrastructure for generic repository implementations independent of the underlying persistence mechanism. Fixes DATACMNS-2, DATACMNS-3, DATACMNS-4, DATACMNS-5, DATACMNS-6, DATACMNS-8, DATACMNS-9.
2010-11-28 18:15:38 +01:00