Permalink
Commits on Sep 5, 2011
  1. DATAJPA-80, DATAJPA-91 - Updated reference documentation.

    Mention PersistenceExceptionTranslator being activated when using the JPA namespace. Documented custom namespace attributes special to the JPA namespace.
    olivergierke committed Sep 5, 2011
  2. DATAJPA-86 - Pagination over queries using group-by works correctly.

    Added handling of count methods for queries using group by. In case the count query returns multiple results we use the number of results instead of failing. If the result contains one result we use this one.
    olivergierke committed Sep 5, 2011
  3. DATAJPA-81 - SimpleJpaRepository.exists(…) now projects to the id to …

    …prevent the entire object being read and mapped.
    olivergierke committed Sep 5, 2011
  4. DATAJPA-96 - JpaQueryCreator now correctly resolves nested properties…

    … for all supported keywords.
    
    Removed Part.toDotPath() references to create Expressions as they have to be atomic.
    olivergierke committed Sep 4, 2011
  5. DATAJPA-93 - Don't catch IllegalArgumentExceptions raised by missing …

    …domain class in JPA Metamodel.
    
    We now don't catch an IllegalArgumentException being thrown in case a domain class is not found in the metamodel. If it occurs there's nothing we can do about it as we can't come up with an EntityInformation instance then and the persistence provider couldn't handle it anyway.
    olivergierke committed Sep 4, 2011
Commits on Sep 2, 2011
  1. Fixed project title.

    olivergierke committed Aug 31, 2011
  2. DATAJPA-90 - Refactored PartTreeJpaQuery to create new JpaQueryCreato…

    …r on every query recreation.
    
    Fixed potential concurrency problem for PartTree based query creation. JpaQueryCreator is stateful as we create a list of ParameterExpressions and iterate over them. So we have to re-instantiate the JpaQueryCreator to not create an exception on the second attempt. We now eagerly create CriteriaQuery and it's ParameterExpressions in QueryPreparer's constructor. Lazily doing so could let to exceptions accessing the ParameterExpressions in race conditions.
    olivergierke committed Aug 21, 2011
  3. Fixed distribution name.

    olivergierke committed Aug 12, 2011
  4. Prepare 1.0.x development.

    olivergierke committed Jul 21, 2011
Commits on Jul 21, 2011
  1. Prepare 1.0.0.RELEASE.

    olivergierke committed Jul 21, 2011
  2. Polished codebase and added architecture management.

    Added Sonargraph architecture description. Removed cyclic package dependency. Introduced JpaEntityInformationSupport to contain common getEntityName() method and serving as factory for JpaEntityInformation instances.
    olivergierke committed Jul 21, 2011
  3. Polished readme.md.

    olivergierke committed Jul 21, 2011
  4. Polished pom.xml.

    Updated source plugin to 2.1.2 and javadoc plugin 2.8. Added link to Spring Data Commons Javadocs. Fixed configuration of source plugin.
    olivergierke committed Jul 21, 2011
Commits on Jul 19, 2011
  1. DATAJPA-78 - Upgrade to Querydsl 2.2.0.

    Upgraded to Querydsl 2.2.0. Added configuration to generate query classes for AbstractPersistable and AbstractAuditable. Package those query classes into the source JAR and compile it into the binary as well. Upgraded Mysema APT plugin to 1.0.2.
    olivergierke committed Jul 19, 2011
  2. DATAJPA-77 - Count queries for manually defined queries don't get pag…

    …ination applied anymore.
    olivergierke committed Jul 19, 2011
  3. DATAJPA-71 - CriteriaQueries created from derived queries are cached …

    …now if possible.
    
    We now create the CriteriaQuery instance for derived queries only once in case the query method does not contain a dynamic sort parameter (either through a plain Sort or via a Pageable).
    olivergierke committed Jul 19, 2011
Commits on Jul 7, 2011
Commits on Jun 23, 2011
  1. DATACMNS-49 - Added integration for Spring Data named queries.

    We now support extracting query definitions into a properties file which can be configured on the JpaRepositoryFactoryBean. The namespace will look for classpath*:META-INF/jpa-named-queries.properties by default.
    olivergierke committed Jun 23, 2011
  2. Prepare 1.0.0.RC1 release.

    Updated changelog and Spring Data Commons version to 1.1.0.M2.
    olivergierke committed Jun 21, 2011
Commits on Jun 21, 2011
  1. DATAJPA-64 - Refactored query execution to use ParameterExpression.

    The JpaQueryCreator now creates a CriteriaQuery using ParameterExpressions that have to be bound later on. Refactored the RepositoryQuery implementation hierarchy and JpaQueryExecution as binding has to be done by the query classes now. This required the introduction of a special CriteraQueryParameterBinder as well. It uses the ParameterExpressions of the CriteriaQuery to bind the actual query values later on.
    
    We have to convert arrays passed into query method into collections as none of the major persistence providers support binding arrays to IN parameters currently.
    olivergierke committed Jun 15, 2011
Commits on Jun 19, 2011