Commit Graph

46 Commits

Author SHA1 Message Date
Oliver Gierke
aacb129658 Changed getFirstItem() of Pageable to getOffset(). 2010-12-29 18:03:34 +01:00
Oliver Gierke
5ce44ec4e7 Iterate over all methods to find potential base class methods. 2010-12-29 17:59:08 +01:00
Oliver Gierke
298695c901 Fixed some Findbugs issues.
Renamed finalize(…) in AbstractQueryCreator to complete(…).
2010-12-29 15:29:13 +01:00
Oliver Gierke
640388b83e Added package-info.java files to explain package purposes. 2010-12-29 14:43:00 +01:00
Oliver Gierke
36f4553be9 Removed obsolete class. 2010-12-29 14:42:37 +01:00
Oliver Gierke
f2a85beacb Cleaned up all license headers to align the exepected format. 2010-12-29 14:05:36 +01:00
Oliver Gierke
413341a1aa Extended callback methods to take repository interface into account when creating repository backing object.
As factory implementations might have to inspect the actual repository interface to select a concrete repository implementation, we have to hand the interface to the methods returning the class and returning the actual object.
2010-12-29 12:54:28 +01:00
Oliver Gierke
03bc52d137 Removed all references to 'DAO', 'hades' and 'Synyx'.
Polished JavaDoc here and there.
2010-12-29 12:52:58 +01:00
Oliver Gierke
3de3ef4955 Fixed placeholders in SLF4J logging statements (see Hades #417). 2010-12-27 15:26:44 +01:00
Thomas Risberg
e059872ef9 prepared for snapshot builds 2010-12-23 18:34:22 -05:00
Thomas Risberg
00044478e4 preparing for M1 2010-12-23 17:28:24 -05:00
Thomas Risberg
bacc9451ad preparing for M1 2010-12-23 17:12:51 -05:00
Thomas Risberg
e87314bd66 updated license and notice files 2010-12-23 14:26:09 -05:00
Thomas Risberg
722f516607 added javadoc/source jar plugins 2010-12-23 14:14:29 -05: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
a551a6a061 Improvements in AbstractRepositoryConfigDefinitionParser.
Slight modification to the callback that's called once per repositories root node. Clarified JavaDoc regarding it's purpose.
2010-12-06 21:19:03 +01:00
Oliver Gierke
2b7c555273 DATACMNS-10 - Made some QueryMethod methods public. 2010-12-02 19:26:22 +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
e82b896fa9 Refactored internal mechanism to resolve RepositoryQuery instances.
Simplified creation of RepositoryQuery instances by changing the QueryLookupStrategy interface method to take a plain Method instead of a QueryMethod. This way we get rid of an indirection where subclasses have to implement two methods (one creating a QueryMethod, one returning the QueryLookupStrategy). Thus a QueryLookupStrategy is responsible for creating RepositoryQueries from a Method and using a QueryMethod is an implementation detail of QueryLookupStrategy implementations actually.
2010-11-30 12:40:12 +01:00
Oliver Gierke
1c80a56626 Generified QueryLookupStrategy to allow type safe calls to resolveQuery(…) without the need for an explicit cast. 2010-11-29 23:00:41 +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
Thomas Risberg
1da491ff6f changed a few remaining "datastore" to "data" 2010-11-18 10:21:58 -05:00
Thomas Risberg
e78b8502ab eclipse project files 2010-11-17 17:37:14 -05:00
Thomas Risberg
b750d48df4 changed package name 2010-11-17 17:36:42 -05:00
Mark Pollack
ef881fec74 Update to use AspectJ 1.6.10.RELEASE 2010-11-09 11:46:58 -05:00
Mark Pollack
46315f9916 Remove override annotation for building on Java 5 2010-11-09 11:44:12 -05:00
Thomas Risberg
c6ea2de71b downgraded AWS wagon to 2.0.0 2010-11-02 11:25:59 -04:00
Thomas Risberg
dbe37a6d21 moved @Indexed to data-commons 2010-10-21 14:21:51 -04:00
Thomas Risberg
4011f2e7cf cleanup 2010-10-07 14:28:57 -04:00
Thomas Risberg
0f7984a331 Switched to use new project layout; updated build; moved files around 2010-10-07 12:14:39 -04:00
Thomas Risberg
06b5ceff15 updated to use spring-data-parent; removed unused experimental classes 2010-09-09 16:39:33 -04:00
Thomas Risberg
82642e262e updated to AspectJ 1.6.10/STS 2.3.3.M2/Eclipse 3.6 2010-08-15 21:33:34 -04:00
Thomas Risberg
230293e852 udated to use AspectJ 1.6.10.SNAPSHOT 2010-08-15 20:59:47 -04:00
Thomas Risberg
7700d501e5 moved persistence classes to cross-store project 2010-08-15 20:26:02 -04:00
Thomas Risberg
20c64e2469 added OSGi metadata to build 2010-08-13 14:05:10 -04:00
Thomas Risberg
37f84cebf1 updated to Spring 3.0.3 2010-08-11 15:23:53 -04:00
Thomas Risberg
ec549f01da updated to Spring 3.0.3 2010-08-11 15:19:38 -04:00
trisberg
4e9fccaa82 moving to datastore-graph project due to AspectJ compiler issue 2010-07-28 15:57:03 -04:00
trisberg
de5276c3f2 needed for graph tests 2010-07-27 20:51:45 -04:00
trisberg
fb2c81efdd first part of moving over cross-store classes/aspect; added aspectj compile support 2010-07-27 18:00:20 -04:00
trisberg
be8817f443 adding beginnings of some common abstractions 2010-07-19 15:40:39 -04:00
trisberg
6939db89a7 changed name of artifact 2010-06-15 10:43:10 -04:00
trisberg
585fc9c9f0 updated pom 2010-06-14 18:10:52 -04:00
trisberg
7feb0a7c83 fixed typo in name 2010-06-10 21:01:21 -04:00
trisberg
eb866cd48c the beginning of the Sping Data Common sub-project 2010-06-10 16:50:23 -04:00