Commit Graph

152 Commits

Author SHA1 Message Date
Oliver Gierke
4b7d5d37b6 Added Datanucleus tests. 2014-03-13 10:13:25 +01:00
Thomas Darimont
d868d0bf8a DATAJPA-485 - Upgraded hibernate-jpamodelgen to 1.3.0.Final. 2014-03-10 12:17:32 +01:00
Oliver Gierke
d42a929d03 DATAJPA-493 - Upgraded to OpenJPA 2.3.0.
Upgraded to OpenJPA 2.3.0 and enabled test cases previously ignored because of bugs in previous versions.
2014-03-07 19:16:47 +01:00
Oliver Gierke
55735fb27b DATAJPA-485 - Upgraded to Hibernate profiles to 4.3.4 and 4.2.10. 2014-03-04 11:22:52 +01:00
Spring Buildmaster
8aa5fa5ca0 DATAJPA-469 - Prepare next development iteration. 2014-02-24 15:14:33 +01:00
Spring Buildmaster
bbb5cae6cd DATAJPA-469 - Release version 1.5.0.RELEASE. 2014-02-24 06:09:49 -08:00
Thomas Darimont
3c30ba2bba DATAJPA-469 - Prepare 1.5.0.RELEASE.
Updated change log, readme, notice. Updated links in index.xml to point to SD Commons documentation.

Original pull request: #60.
2014-02-24 15:04:24 +01:00
Christoph Strobl
7e2d7831a4 DATAJPA-470 - Update Documentation.
Update urls to point to spring.io. Added missing id tag to documentation sections. Fix some typos in reference manual. Update readme.md to use consistent set of database and dialect. Add missing end tag for 'para' in FAQ section. Update authors for proper rendering in PDF. Added productname tag. Added links to Stack Overflow.

Original pull request: #59.
2014-02-24 11:57:19 +01:00
Oliver Gierke
246eb989fc DATAJPA-469 - Upgraded to Spring Data Commons snapshots. 2014-02-19 20:08:58 +01:00
Oliver Gierke
112d76ac9d DATAJPA-459 - Suppress verbose output for Querydsl APT generation. 2014-02-06 19:21:07 +01:00
Spring Buildmaster
869be7eafc DATAJPA-450 - Prepare next development iteration. 2014-01-29 04:43:57 -08:00
Spring Buildmaster
d5e166b469 DATAJPA-450 - Release version 1.5.0.RC1. 2014-01-29 04:43:55 -08:00
Oliver Gierke
c6f486eee2 DATAJPA-450 - Prepare 1.5.0.RC1 release.
Upgraded to Spring Data build parent 1.3 RC1 and Spring Data Commons 1.7 RC1. Updated changelog and references from reference documentation. Switched to milestone repository.
2014-01-28 13:36:23 +01:00
Oliver Gierke
655ad131d2 DATAJPA-444 - Prefer Hibernate 4.3 provider interface over legacy one.
Accessing the legacy persistence provider class in Hibernate 4.3 causes a warning being logged. As we generally want to detect the presence of Hibernate in general only, we now check for the Hibernate 4.3 persistence provider interface first to immediately find the new interface and thus avoid the warning.

Upgraded to Hibernate 4.3.1.
2014-01-24 17:12:44 +01:00
Oliver Gierke
cae3ce4532 DATAJPA-450 - Removed Spring dependency versions.
Added plugin repository and changed to libs-snapshot to correctly lookup Bundlor and other project dependencies.
2014-01-20 13:02:48 +01:00
Oliver Gierke
9640ea81ad DATAJPA-417 - Upgraded to EclipseLink 2.5.1.
Was able to upgrade to EclipseLink 2.5.1 and re-enable a previously ignored integration tests. However, some of the disabled test cases still fail despite the relevant bug being reported as fixed in 2.5.1.

Turned the workaround in QueryUtils into a TODO for removal as we don't want to strongly force EclipseLink users to upgrade to 2.5.x yet.
2014-01-17 17:12:20 +01:00
Oliver Gierke
3f4eecf97e DATAJPA-443 - Upgraded to Hibernate 4.2.8 and 4.3.0. 2014-01-12 19:25:42 +01:00
Oliver Gierke
516977f722 DATAJPA-428 - Upgraded to snapshot of Spring Data build parent. 2014-01-12 19:25:42 +01:00
Oliver Gierke
44994ff3e9 DATAJPA-435 - Let Sonar reuse existing test reports. 2013-12-11 13:21:54 +01:00
Oliver Gierke
ae10332b18 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.
2013-12-09 14:44:13 +01:00
Oliver Gierke
5d6e44d379 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.
2013-12-08 19:30:54 +01:00
Oliver Gierke
1d6806b979 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.
2013-12-07 13:10:29 +01:00
Thomas Darimont
692b2382bf 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.
2013-12-07 13:09:31 +01:00
Spring Buildmaster
32f90661e0 DATAJPA-428 - Prepare next development iteration. 2013-11-19 04:29:39 -08:00
Spring Buildmaster
4df4d3eecb DATAJPA-428 - Release version 1.5.0.M1. 2013-11-19 04:29:37 -08:00
Oliver Gierke
8aafc4fb6c 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.
2013-11-19 13:21:43 +01:00
Thomas Darimont
44806cb7f1 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.
2013-11-11 20:20:05 +01:00
Oliver Gierke
5be0897d08 DATAJPA-481 - Upgraded to Spring Framework 3.2.4.
Upgraded to Spring Data Build 1.3.0.BUILD-SNAPSHOT to benefit from upgrade to Spring Framework 3.2.4.
2013-10-25 19:43:06 +02:00
Thomas Darimont
c6c4a3b344 DATAJPA-386 - Prepare for next iteration.
Updated pom.xml to refer to the current version of SD Commons 1.7.0.BUILD-SNAPSHOT.
2013-09-18 13:19:15 +02:00
Spring Buildmaster
2a2255dca9 DATAJPA-386 - Prepare next development iteration. 2013-09-09 15:30:01 -07:00
Spring Buildmaster
0e2663e9a4 DATAJPA-386 - Release version 1.4.0.RELEASE. 2013-09-09 15:29:59 -07:00
Thomas Darimont
d41a466b4d DATAJPA-386 - Prepare 1.4.0 Release. 2013-09-09 15:26:18 -07:00
Oliver Gierke
e5e4b4dd3b DATAJPA-347 - Upgrade to Spring Data Commons 1.6.0.BUILD-SNAPSHOT. 2013-08-14 09:24:53 +02:00
Spring Buildmaster
1f571ad751 DATAJPA-347 - Prepare nexte development iteration. 2013-08-01 09:18:13 -07:00
Spring Buildmaster
5505f9cd60 DATAJPA-347 - Release version 1.4.0.RC1. 2013-08-01 09:18:09 -07:00
Oliver Gierke
d4119dcdbe DATAJPA-379 - Prepare 1.4.0.RC1 release.
Upgraded to Spring Data Build parent 1.1.1.RELEASE. Upgraded to Spring Data Commons 1.6.0.RC1. Switched to milestone repository. Adapted documentation references to RC1 of SPring Data Commons. Updated changelog, notice and readme.
2013-08-01 18:07:32 +02:00
Oliver Gierke
e27bd55e36 DATAJPA-351 - Upgrade to snapshot dependencies after M1 release. 2013-06-10 12:02:35 +02:00
Spring Buildmaster
b581568d72 DATAJPA-351 - Prepare next development iteration. 2013-06-04 10:17:42 -07:00
Spring Buildmaster
1a294caa88 DATAJPA-351 - Release version 1.4.0.M1. 2013-06-04 10:17:38 -07:00
Oliver Gierke
f077409ea1 DATAJPA-351 - Prepare 1.4 M1 release.
Upgraded to Spring Data Build 1.1.0. Upgraded to Spring Data Commons 1.6 M1. Added milestone repository. Updated documentation references to the 1.6 M1 artifacts.
2013-06-04 18:57:22 +02:00
Oliver Gierke
4b1cd49079 DATAJPA-331 - Use correct snapshot repository to resolve plugin dependencies. 2013-04-19 10:36:57 +02:00
Oliver Gierke
391a77d058 DATAJPA-331 - Use lib-snapshot repository instead of libs-snapshot.
libs-snapshot filters repository declarations pointing into Artifactory again. This results in the plugin repository declaration in the Spring Data Build parent pom being stripped and the build to fail in case Bundlor is not already in the local repository.
2013-04-18 12:02:39 +02:00
Oliver Gierke
40caa97808 DATAJPA-321, DATAJPA-320 - Upgraded to Querydsl 3.0.0.
Upgraded to Spring Data Build 1.1.0.BUILD-SNAPSHOT to benefit from Querydsl dependency upgrade. Upgraded Maven APT plugin to 1.0.8 alongside.
2013-03-25 17:53:52 +01:00
Oliver Gierke
d0a383a2d9 DATAJPA-316 - Added build profiles to build against Hibernate 4.1 and 4.2.
Upgraded to Spring Data Build 1.0.2.RELEASE along the way. Needed to upgrade to HSQLDB 2.2.9 as Hibernate 4 doesn't work with HSQLDB versions 1.x. Set up OpenJPA test run to still use HSQLD 1.8.0.10 as OpenJPA does not work with HSQLDB 2.x. *sigh*
2013-03-19 14:41:39 +01:00
Oliver Gierke
bc0bf33b55 Fixed indentation to tabs in pom.xml. 2013-03-07 13:15:31 +01:00
Kevin Raymond
60923c8651 DATAJPA-296 - Added support for case insensitive sorting.
Modified QueryUtils.toJpaOrder(…) to apply lower criteria if ignore case on Order is set to true and the property being sorted is of type String. Upgraded to Spring Data Commons 1.6.0.BUILD-SNAPSHOT along the way.
2013-02-27 18:47:43 +01:00
Spring Buildmaster
3005108c2a DATAJPA-295 - Prepare next development iteration. 2013-02-07 07:51:03 -08:00
Spring Buildmaster
b01b83769a DATAJPA-295 - Release version 1.3.0.RELEASE. 2013-02-07 07:51:00 -08:00
Oliver Gierke
b68288605e DATAJPA-295 - Upgraded to Spring Data Commons 1.5.0.RELEASE.
Upgraded to Spring Data build parent 1.0.0.RELEASE.
2013-02-07 16:06:47 +01:00
Oliver Gierke
dfec00d5ed DATAJPA-293 - Upgraded to JodaTime 2.1.
…by using the property defined in the parent pom.xml.
2013-02-06 18:35:54 +01:00