DATACMNS-344 - Allow Repositories to work with non-CrudRepositories.

Introduced CrudMethods abstraction obtainable via a RepositoryInformation to inspect a repository for the presence of individual CRUD methods. The default implementation favors more special methods (e.g. the findAll(Pageable) over a simple findAll()). Introduced a CrudInvoker to be able to easily invoke findOne(…) and save(…) independently of whether the target methods are declared explicitly or inherited from CrudRepository.

Fixed some test case names to make sure they're executed during the Maven build.
This commit is contained in:
Oliver Gierke
2013-07-15 14:40:56 +02:00
parent 8a02b4ad6e
commit 634789c3b7
27 changed files with 859 additions and 91 deletions

View File

@@ -80,6 +80,7 @@
<element type="TypeFilter" name="Assignment">
<element type="IncludeTypePattern" name="**.init.**"/>
</element>
<dependency toName="Project|spring-data-commons::Layer|Repositories::Subsystem|Core" type="AllowedDependency"/>
<dependency toName="Project|spring-data-commons::Layer|Repositories::Subsystem|Support" type="AllowedDependency"/>
</element>
<element type="Subsystem" name="Configuration">