Permalink
Switch branches/tags
Commits on Dec 6, 2011
Commits on Dec 3, 2011
  1. DATAJPA-113 - Improved DI for QueryDslRepositorySupport.

    Removed @Required annotation from the setter for EntityManager property. The annotation triggered a dependency check that was not aware of the EntityManager being injected by a PersistenceAnnotationBeanPostProcessor. As we already have a validation callback using @PostConstruct we can simply rely on the not-null check for the EntityManager being implemented there.
    olivergierke committed Oct 11, 2011
Commits on Dec 2, 2011
Commits on Oct 14, 2011
Commits on Oct 12, 2011
Commits on Oct 11, 2011
Commits on Sep 6, 2011
  1. DATAJPA-103 - Consolidate Expression creation for property references…

    … from method names and Order expressions.
    olivergierke committed Sep 6, 2011
  2. DATADOC-99 - ParameterExpressionProvider now uses parameter type inst…

    …ead of handed in type if assignable.
    
    JpaQueryCreator hands Comparable into ParameterExpressionProvider to create ParameterExpression instances for Comparables. The ParameterExpressionProvider in turn now inspects the actual Parameter type and hand this one into the builder in case it's assignable (read: more concrete) to the given type requested.
    olivergierke committed Sep 6, 2011
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