Switch branches/tags
Commits on Mar 24, 2011
  1. Prepare M2 release.

    olivergierke committed Mar 24, 2011
Commits on Mar 23, 2011
Commits on Mar 16, 2011
Commits on Mar 15, 2011
  1. DATAJPA-8 - Introduced support for QueryDsl specifications

    olivergierke committed Dec 29, 2010
    Extracted methods taking a Specification from JpaRepository into JpaSpecificationExecutor. Introduced QueryDslPredicateExecutor that takes QueryDsl Predicate objects to execute them. Introduced QueryDsl specific subclass to execute Predicate instances. Extended JpaRepositoryFactory to rather use the QueryDsl specific implementation if the actual user repository implements QueryDslPredicateExecutor. Added test case to ensure detection of query class. Added QueryDslRepositorySupport to ease implementation of repositories. Added constructor to QueryDslJpaRepository to take an EntityPathResolver to allow plugging in a different implementation. Extracted actual EntityPath resolution tests into unit test for SimpleEntityPathResolver. Check for QueryDsl classpath presence to prevent ClassNotFoundExceptions.
Commits on Mar 11, 2011
  1. DATAJPA-12 - More correct interpretation of setting sort paths.

    olivergierke committed Mar 11, 2011
    We now treat paths handed into a Sort object as individual property traversals and build and join them together appropriately. Thx to Nemanja Nedic for the contribution.
Commits on Mar 10, 2011
  1. DATAJPA-27 - Added snapshot repository.

    olivergierke committed Mar 10, 2011
    As we reference Spring Data Commons in a SNAPSHOT version we have to include the SpringSource snapshot repository as well.
  2. DATAJPA-14 - Added query validation for String based JPA query.

    olivergierke committed Mar 3, 2011
    Simply let the EntityManager create a JPA query object on SimpleJpaQuery creation. This fails if the query contains syntactical errors.
  3. DATAJPA-26 - Added missing plugin repository declaration.

    olivergierke committed Mar 10, 2011
    When building with Maven 3 plugin dependencies are only looked up through repositories defined in the <pluginRepositories /> element. So we had to add the Spring release repository there.
Commits on Mar 4, 2011
Commits on Mar 2, 2011
Commits on Mar 1, 2011
Commits on Feb 27, 2011
Commits on Feb 25, 2011
Commits on Feb 23, 2011
  1. DATAJPA-28 - Added support for XML based metadata.

    olivergierke committed Feb 22, 2011
    Added IsNewAware and IdAware implementation that uses JPA 2.0 meta model API to find the id field. Using that instead of JpaAnnotationEntityInformation to be able to use XML based entity mapping as well. Changed mapping of Role sample domain class to XML and created integration test to verify XML metadata is considered as well.
Commits on Feb 22, 2011
  1. DATAJPA-29, DATAJPA-30 - Fixed invalid page metadata in pagination qu…

    olivergierke committed Feb 22, 2011
    JpaCountQueryCreator now correctly applies the predicate. Added test cases and support for 'In' keywords.
Commits on Feb 21, 2011
Commits on Feb 16, 2011
Commits on Feb 14, 2011
  1. Fixed bug in total page number calculation due to additional root add…

    olivergierke committed Feb 14, 2011
    Using the initially created root to create the count projection now. Added more tests to verify correct number of elements and pages.
  2. DATAJPA-23 - Fixed query building for IsNull and IsNotNull.

    olivergierke committed Feb 14, 2011
    Use the actually accessed path instead of the root object. Added test cases to verify behaviour.