DATAJPA-497 - Fixed handling of OrderSpecifier for Querydsl based repositories.

We now only generate an additional left-join for the order expression of the targetPath is an EntityPath.

Original pull request: #69.
DATAJPA-500 - Verify that sorting of Embeddables with Querydsl works.

Added test case to verify that sorting by nested embedded attributes with querydsl expressions works. Previously a ClassCastException was thrown due to changes in org.springframework.data.jpa.repository.support.Querydsl.

Original pull request: #70.
DATAJPA-502 - Fixed version ranges in template.mf.

Fixed the version ranges for Hibernate, Joda Time and Sl4fj.
DATAJPA-504 - Regression in Querydsl OrderSpecifier customization.

Removed custom querydsl left join generation for order fields.
The recent versions of Querydsl already do this properly - so there is no need for us anymore to add left-joins ourselves.
Previously we had to generate additional left-joins since Querydsl did not support ordering by an attribute that was not part of the projection.

Original pull request: #73.
DATAJPA-505 - Projections for basic primitive arrays should use SingleEntityExecution.

We now execute a query as a SingleEntityExecution if the return-type of the particular query-method is an basic char[],Character[], byte[], Byte[].
Previously we tried to do an CollectionExecution which didn't return all elements of the actual result (e.g. the byte[]).

Although EclipseLink and Hibernate support the use of array elements in projections OpenJPA seems not to. Filed https://issues.apache.org/jira/browse/OPENJPA-2484 to track the issue. Since OpenJPA prevents the bootstrap of the whole test suite I had to comment the query method + tests out. Tested Hibernate / EclipseLink by temporarily excluding all OpenJPA tests from the test-suite.

Original pull request: #71.
DATAJPA-509 - JpaMetamodelEntityInformation now considers entity name from JPA meta-model.

JpaMetamodelEntityInformation prefers the entity name from the JPA meta-model over the one derived from the simple class name. Documented limitation of an entity name customized through XML mapping metadata will not be considered in the SpEL support for manually defined query methods.

Original pull request: #76.
DATAJPA-513 - Improve error message on missing @Param on query method parameter.

StringQuery now hints to the usage of @Param on query method parameters if named parameters are used and parameter names were not declared.

Original pull request: #77.
DATAJPA-507 - LocakModeRepositoryPostProcessor now caches lock metadata.

We now cache the LockModeType annotation found for a method to avoid repeated lookups of the annotation using AnnotationUtils.findAnnotation(…) as the call to it is quite expensive (as it needs to travers the entire method hierarchy and inspect meta-annotations etc.).

This is a partial back-port of the fix for DATAJPA-173 with only the performance improvement, leaving the functional improvements in the master branch.
DATAJPA-515 - Prepare release 1.5.2.

Upgraded to Spring Data Commons 1.7.2, Spring Data Build parent 1.3.2. Update pom.xml to use release repository. Update changelog to reflect recent changes / releases. Update version in notice & readme.

Original pull request: #78.
DATAJPA-515 - Release version 1.5.2.RELEASE (Codd SR2).
DATAJPA-515 - Prepare next development iteration.