Permalink
Switch branches/tags
Commits on Aug 24, 2012
Commits on Aug 23, 2012
Commits on Aug 20, 2012
  1. DATAJPA-249 - Make Spring 3.1.2.RELEASE default Spring dependency ver…

    olivergierke committed Aug 20, 2012
    …sion.
    
    We move away from Maven version ranges as they complicate the build and dependency resolution process. They make the build in-reproducible. Users stuck with a 3.0.x version of Spring will now have to manually declare Spring dependencies in their needed 3.0.x version. Not that at least Spring 3.0.7 is required currently.
Commits on Aug 16, 2012
Commits on Aug 13, 2012
  1. DATAJPA-244 - Use ClassLoader of EntityManager for implementation loo…

    olivergierke committed Aug 13, 2012
    …kup.
    
    JpaClasUtils.isEntityManagerOfType(…) now uses the given EntityManager's ClassLoader to try to load the given concrete classname. We're actually using the EntityManager's delegate here which is usually some provider specific implementation (e.g. a Hibernate Session). This assumes that the ClassLoader who initially loaded the class to create the delegate instance will also see the special EntityManager interface.
  2. DATAJPA-245 - Listing all compile time dependencies directly.

    olivergierke committed Aug 13, 2012
    We've been relying on some compile time dependencies being pulled in transitively. This is now fixed by declaring those locally.
  3. DATAJPA-243 - QueryDslJpaRepository applies sort given through Pageab…

    olivergierke committed Aug 13, 2012
    …le correctly.
    
    During the refactoring of the Querydsl interaction a regression of not applying a Sort wrapped in a Pageable was introduced in QueryDsl utility class.
Commits on Aug 2, 2012
Commits on Jul 31, 2012
Commits on Jul 23, 2012
Commits on Jul 19, 2012
  1. DATAJPA-232 - Fixed parameter binding in SimpleJpaRepository.findAll(…

    olivergierke committed Jul 19, 2012
    …Iterable<ID> ids).
    
    We bound the given Iterable<ID> using List as parameter type which gets rejected if you hand in something that's not a List actually (e.g. HashSet). Changed parameter binding to hand in Iterable now.
Commits on Jul 18, 2012
Commits on Jul 17, 2012
  1. DATAJPA-226 - Working around ambiguities in the JPA spec.

    olivergierke committed Jul 17, 2012
    We now expect a much broader range of exceptions possibly popping up from EntityManager.createQuery(…). It turns out the spec is not very strict about what must be returned from the call in case the provided query String is invalid. E.g. Hibernate seems to throw an IllegalStateException in case the query seems generally acceptable but has a typo in some keyword.
    
    We now catch RuntimeException invoking the call and simply rethrow the original exception if it is an IllegalArgumentException indeed but wrap any other into an IAE.
    
    See http://java.net/projects/jpa-spec/lists/jsr338-experts/archive/2012-07/message/17
Commits on Jul 16, 2012
  1. DATAJPA-69 - Added JavaConfig support for repositories.

    olivergierke committed Dec 2, 2011
    The repositories can now be bootstrapped using @EnableJpaRepositories annotation as follows:
    
    @Configuration
    @EnableJpaRepositories
    class ApplicationConfig {
      
      // … declare EntityManagerFactory
      // … declare PlatformTransactionManager
    }
Commits on Jul 13, 2012
Commits on Jun 6, 2012
Commits on Jun 4, 2012
  1. DATAJPA-176 - Introduce Querydsl abstraction.

    olivergierke committed Jun 4, 2012
    Introduced Querydsl helper class to allow using more functionality from QuerydslJpaRepository as well as QuerydslRepositorySupport. Moved applyPagination(…) and applySorting(…) methods into that helper class. Removed QuerydslUtils and moved functionality into Querydsl helper.
    
    This change breaks exposed API in Querydsl repo and repo support classes.
Commits on Jun 1, 2012
  1. DATAJPA-217 - Added Hibernate JPA model generator.

    olivergierke committed Jun 1, 2012
    We now distribute the JPA Criteria API meta-model classes for AbstractPersistable and AbstractAuditable.
Commits on May 23, 2012
Commits on May 16, 2012
  1. DATAJPA-212 - Polished pom for release.

    olivergierke committed May 16, 2012
    Removed obsolete staging profile. Fixed inception year. Fixed site deployment URL. Removed deployment repositories as we're releasing through Artifactory.
  2. DATAJPA-211 - Documented CDI integration.

    olivergierke committed May 16, 2012
    Added brief section on how to use the CDI extension. Poslished documentation in general: updated copyright year, removed revision history, fixed links to Maven repositories, added missing section ids to create stable links, improved CSS for HTML rendering, improved PDF rendering.
  3. DATACMNS-171 - Let JpaQueryMethod new method of QueryMethod.

    olivergierke committed May 16, 2012
    Drop custom method to determine whether a query method returns an entity and rather use the newly introduced method in Spring Data Commons' QueryMethod.