187 Commits

Author SHA1 Message Date
Oliver Gierke
afd2b31708 DATAJPA-750 - After release cleanups. 2015-07-01 09:17:13 +02:00
Spring Buildmaster
16d5d66d84 DATAJPA-750 - Prepare next development iteration. 2015-06-30 23:22:57 -07:00
Spring Buildmaster
48e1ade31c DATAJPA-750 - Release version 1.6.6.RELEASE (Dijkstra SR6). 2015-06-30 23:22:55 -07:00
Oliver Gierke
d61cbc7227 DATAJPA-750 - Prepare 1.6.6.RELEASE (Dijkstra SR6). 2015-07-01 08:05:21 +02:00
Oliver Gierke
a7bbc4803a DATAJPA-720 - Removed <relativePath /> element from parent POM declaration. 2015-05-15 15:06:25 +02:00
Oliver Gierke
6f4e7f3703 DATAJPA-698 - Upgraded to EclipseLink 2.5.2.
Slightly refactored general infrastructure integration tests to make sure they're executed during the build. Added neccesary ignores to prevent the test cases from running into spec violations.
2015-04-01 13:12:03 +02:00
Oliver Gierke
c4ba27e1f9 DATAJPA-660 - After release cleanups. 2015-01-27 18:29:22 +01:00
Spring Buildmaster
7d59885b3e DATAJPA-660 - Prepare next development iteration. 2015-01-27 06:27:25 -08:00
Spring Buildmaster
425ccc4ba6 DATAJPA-660 - Release verions 1.6.5.RELEASE (DijkstraSR5). 2015-01-27 06:26:49 -08:00
Oliver Gierke
64583028e8 DATAJPA-660 - Prepare 1.6.5.RELEASE (Dijkstra SR5). 2015-01-27 15:11:12 +01:00
Oliver Gierke
e7f0f190d1 DATAJPA-634 - Switched to HTTPS for repository declarations. 2014-11-27 17:59:42 +01:00
Oliver Gierke
dd7ff130a5 DATAJPA-602 - Upgraded AspectJ plugin to 1.6.
Upgraded to Maven AspectJ plugin in version 1.6 and set it up to use the aop.xml already contained in the project. This allows building the project against Spring 4.1 snapshots.
2014-09-04 10:38:50 +02:00
Oliver Gierke
95e5ff6d90 DATAJPA-595 - After release cleanups. 2014-08-27 12:37:01 +02:00
Spring Buildmaster
0df4808a7e DATAJPA-595 - Prepare next development iteration. 2014-08-27 03:11:30 -07:00
Spring Buildmaster
5b877ec1ea DATAJPA-595 - Release version 1.6.4.RELEASE (Dijkstra SR4). 2014-08-27 03:11:28 -07:00
Oliver Gierke
65ac8512bd DATAJPA-595 - Prepare 1.6.4.RELEASE (Dijkstra SR4). 2014-08-27 11:28:26 +02:00
Oliver Gierke
efacf81e2c DATAJPA-578 - After release cleanups. 2014-07-28 12:24:57 +02:00
Spring Buildmaster
29c429c684 DATAJPA-578 - Prepare next development iteration. 2014-07-28 02:08:32 -07:00
Spring Buildmaster
a091d06076 DATAJPA-578 - Release version 1.6.2.RELEASE (Dijkstra SR2). 2014-07-28 02:08:30 -07:00
Oliver Gierke
5e537142cb DATAJPA-578 - Prepare 1.6.2.RELEASE (Dijkstra SR2). 2014-07-28 10:20:03 +02:00
Oliver Gierke
cd139ddf8f DATAJPA-563 - After release cleanups. 2014-06-30 16:47:27 +02:00
Spring Buildmaster
0b2ea1b58c DATAJPA-563 - Prepare next development iteration. 2014-06-30 06:57:10 -07:00
Spring Buildmaster
d2f73196f8 DATAJPA-563 - Release version 1.6.1.RELEASE (Dijkstra SR1). 2014-06-30 06:57:08 -07:00
Oliver Gierke
c84708c587 DATAJPA-563 - Prepare 1.6.1.RELEASE (Dijkstra SR1). 2014-06-30 15:01:20 +02:00
Oliver Gierke
d674fb9f22 DATAJPA-542 - Prepare next development iteration. 2014-05-22 11:48:51 +02:00
Spring Buildmaster
4bb061eb79 DATAJPA-542 - Release version 1.6.0.RELEASE. 2014-05-20 09:19:35 -07:00
Oliver Gierke
d2a792c101 DATAJPA-542 - Prepare 1.6 GA. 2014-05-20 16:57:00 +02:00
Oliver Gierke
da9b8eb3a7 DATAJPA-522 - After release cleanups. 2014-05-02 15:27:17 +02:00
Spring Buildmaster
9cf5cb780b DATAJPA-522 - Prepare next development iteration. 2014-05-02 05:01:17 -07:00
Spring Buildmaster
27fdb9c287 DATAJPA-522 - Release version 1.5.0.RC1. 2014-05-02 05:01:14 -07:00
Oliver Gierke
bf020c6a96 DATAJPA-522 - Prepare 1.6.0.RC1.
Upgraded to Spring Data Parent 1.4.0.RC1 and Spring Data Commons 1.8.0.RC1. Switched to milestone repository.
2014-05-02 13:53:27 +02:00
Spring Buildmaster
4dd570f670 DATAJPA-481 - Prepare next development iteration. 2014-03-31 16:22:52 +02:00
Spring Buildmaster
6cc0f9f835 DATAJPA-481 - Release version 1.6.0.M1. 2014-03-31 07:19:11 -07:00
Thomas Darimont
398c87007d DATAJPA-481 - Prepare release 1.6 M1.
Updated Spring Data Commons and Spring Data Build version in pom.xml. Update pom.xml to use milestone repository. Update reference documentation to use recent Spring Data Commons version. Update changelog to reflect recent changes / releases. Update version in notice & readme.

Original pull request: #75.
2014-03-31 16:11:13 +02:00
Thomas Darimont
dd64fe21ea DATAJPA-466 - Add support for lazy loading configuration via JPA 2.1 fetch-/loadgraph.
We now support load-graph / fetch-graph QueryHints on repository query methods, which are applied when a JPA 2.1 capable JPA implementation is used. We explicitly reject the usage of those hints in case the user is running a JPA 2.0 provider.

FetchGraphs / LoadGraphs can now be defined on the Entity via the @NamedEntityGraphs annotation.

@Entity
@QueryEntity
@NamedEntityGraphs(@NamedEntityGraph(name = "GroupInfo.members", attributeNodes = @NamedAttributeNode("members")))
public class GroupInfo {

  @ManyToMany List<GroupMember> members = new ArrayList<GroupMember>(); //default fetch mode is "lazy".
}

The entity graph "GroupInfo.members" overwrites the fetch-mode of the members collection to be "eager".

The entity graph to be used can now configured on a repository query method.

@Repository
public interface GroupRepository extends CrudRepository<GroupInfo, String> {

	@EntityGraph("GroupInfo.members")
	GroupInfo getByGroupName(String name);
}

The new method JpaQueryMethod#getEntityGraph analyses an @EntityGraph annotation and constructs a new JpaEntityGraph value object that contains the information form the annotation. The new method AbstractJpaQuery#applyEntityGraphConfiguration tries to apply the given EntityGraph configuration if the used JPA persistence provider supports the JPA 2.1 spec.

Changed the class path order such that EclipseLink is now placed before the eclipse dependency. EclipseLink references the JPA 2.1 API and allows us to provide type-safe support for the new JPA 2.1 features.

Original pull request: #74.
2014-03-30 16:42:36 +02:00
Oliver Gierke
a6d6cc0799 DATAJPA-485 - Upgraded build profile to Hibernate 4.2.11. 2014-03-19 13:37:43 +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