DATAJPA-419 - Adapt to new non-lazy-instantiation model of repositories.

Mostly mayor cleanups the way test cases bootstrap the repositories as they're now instantiated eagerly.
DATAJPA-424 - Fixed alias detection in manually defined queries using SpEL.

ExpressionBasedStringQuery now resolves and evaluates SpEL expressions of the actual query in the constructor and passes the resolved query to the StringQuery constructor. This enables the alias detection mechanism to work properly.

Original pull request: #51
DATAJPA-265 - Support for auditing configuration via JavaConfig.

Introduces the necessary infrastructure to configure auditing with JPA via JavaConfig using @EnableJpaAuditing.

Original pull request: #50.
DATAJPA-265 - Improve implementation of AuditingBeanFactoryPostProcessor.

Polished the implementation of AuditingBeanFactoryPostProcessor to selectively add depends-on clauses to all bean definitions that will result in EntityManagerFactory instances eventually. Added unit tests to verify intended behavior for Java based configuration. Polished newly integrated test cases.

Removed obsolete code from AuditingEntityListener. Added configuration sample snippet. Polished reference documentation.

Original pull request: #50.
DATAJPA-265 - Further polishing.

Original pull request: #50.
DATAJPA-426 - Improve extensibility of SimpleJpaRepository.

Made a few originally private method protected to allow usage from sub-classes.
DATAJPA-428 - Prepare release 1.5.0.M1.

Upgraded to Spring Data Commons 1.7.0.M1 and Spring Data Build 1.3.0.M1. Use milestone repository instead of snapshot repo. Let reference documentation refer to 1.7 M1 reference in Spring Data Commons. Updated changelog, notice and readme.
DATAJPA-428 - Release version 1.5.0.M1.
DATAJPA-428 - Prepare next development iteration.
DATAJPA-427 - Generate left joins for referenced associations in sort expressions.

Previously sorting by property of an associated object generated an inner join instead of a left join with QueryDsl and Hibernate. That excluded records that had null values on their join columns. We now generate appropriate left joins if we detect associations in the sort property expression.

Ignored test cases for EclipseLink since eclipse link generates an inner-join instead of an outer-join to fetch  associations in order by. Filed: https://bugs.eclipse.org/bugs/show_bug.cgi?id=422450

Original pull request: #53.
DATAJPA-12 - Added Sort implementations for JPA meta-model API and Querydsl.

Introduced JpaSort for sorting by JPA meta-model attribute paths. Introduced JpaMetaModelPathBuilder that can be used to ease the construction of Jpa meta-model attribute paths by the provided static factory method. Added new testing scenario (MailMessage and MailSender) to avoid to mess up the existing sample classes. Enabled static JPA meta-model generation in pom.xml.

Enhanced Querydsl to generate appropriate left joins when sorting by nested (singular) association properties. Converted XML configuration for QueryDslRepositorySupportIntegrationTests into JavaConfig.

Original pull request: #54.
DATAJPA-12 - Design changes in JpaSort.

Decided to go with a simpler way of building up attribute paths on JpaSort to avoid the need to work with JPA Path instances (and thus the EntityManager) entirely. Added shortcut constructors to JpaSort that take a vararg of Attribute or PluralAttribute respectively.

Interestingly, the test cases still have to be integration tests as the  fields in the statically generated meta-model are null until the EntityManagerFactory bootstrap process enhances them to contain actual values. So no real unit tests unfortunately.

Consolidated tests cases for MailMessageRepository into one class, especially to avoid the configuration QueryDslRepositorySupportIntegrationTests to interfere with the newly added tests. Also rather use SampleConfig configuration class to allow the test framework's caching mechanism to kick in.

Original pull request: #54.
DATAJPA-12 - Simplified build setup for meta-model creation.

Consolidated the generation of the static meta-model for test classes into the Querydsl APT plugin.
DATAJPA-430 - Tweaks to be compatible with Hibernate 4.3.

Latest Hibernate 4.3 releases have changes some behavior and internals slightly. Adapted the test cases accordingly and added another guard in JpaMetamodelEntityInformation to adhere to the new behavior.

Added build profile to be able to build against Hibernate 4.3.
DATAJPA-420 - Fixed count projection for manual queries with projections.

Original pull request: #52.
DATAJPA-410 - Improved documentation on jpa:repository namespace.

We now mention that we require a bean with name transactionManager to be present if no transaction-manager-ref is defined.

Original pull request: #47.
DATAJPA-435 - Let Sonar reuse existing test reports.
DATAJPA-444 - Improve detection of PersistenceProvider implementations.

Since the location of the Hibernate EntityManager implementation changed in Hibernate 4.3 to org.hibernate.jpa.HibernateEntityManager, we now support org.hibernate.jpa.HibernateEntityManager as well as  org.hibernate.ejb.HibernateEntityManager as a Hibernate PersistenceProvider.

Original pull request: #55.
DATAJPA-428 - Upgraded to snapshot of Spring Data build parent.
DATAJPA-443 - Upgraded to Hibernate 4.2.8 and 4.3.0.