Permalink
Switch branches/tags
Commits on Jul 21, 2011
  1. Prepare 1.0.0.RELEASE.

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

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

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

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

    olivergierke committed Jul 19, 2011
    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.
  2. DATAJPA-77 - Count queries for manually defined queries don't get pag…

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

    olivergierke committed Jul 19, 2011
    …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).
Commits on Jul 7, 2011
Commits on Jun 23, 2011
  1. DATACMNS-49 - Added integration for Spring Data named queries.

    olivergierke committed Jun 23, 2011
    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.
  2. Prepare 1.0.0.RC1 release.

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

    olivergierke committed Jun 15, 2011
    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.
Commits on Jun 19, 2011
Commits on Jun 17, 2011
Commits on Jun 15, 2011
Commits on Jun 14, 2011
  1. Adapted package refactorings in Spring Data Commons.

    olivergierke committed Jun 14, 2011
    Resolved package dependencies as well.
Commits on Jun 13, 2011
  1. DATAJPA-68 - Refactored AuditingEntityListener.

    olivergierke committed Jun 13, 2011
    Separated touch(…) methods for updating and creation as some persistence providers might hand in entities with IDs already assigned into a @PrePersist method and thus the isNew() check will fail.
Commits on May 24, 2011
Commits on May 23, 2011
Commits on May 12, 2011
Commits on May 11, 2011
  1. DATACMNS-35 - Added implementation and test for newly introduced Repo…

    olivergierke committed May 11, 2011
    …sitory.delete(ID id) method.
  2. DATAJPA-59, DATAJPA-60 - Improved handling of PersistenceProviders no…

    olivergierke committed May 11, 2011
    …t capable of extracting queries for paging query methods.
    
    Removed check for that capability (QueryExtractor.canExtractQuery()) from JpaQueryMethod and defer it into NamedQuery as we can handle derived queries and queries annotated with @Query regardless of that capability.
    
    Made exception message a bit more verbose to give hints what to do if the exception occurs.