Branch: refs/heads/master
Home:
https://github.com/forge/core
Commit: 3b28894d6ec7528fa8e6e51bdd0b64ebf4cc95af
https://github.com/forge/core/commit/3b28894d6ec7528fa8e6e51bdd0b64ebf4cc...
Author: Vineet Reynolds <Vineet.Reynolds(a)gmail.com>
Date: 2013-03-20 (Wed, 20 Mar 2013)
Changed paths:
M dist/build.xml
A dist/src/main/resources/modules/org/freemarker/main/module.xml
M dist/src/main/resources/modules/org/jboss/forge/javaee/impl/main/module.xml
M javaee-impl/pom.xml
M javaee-impl/src/main/java/org/jboss/forge/spec/javaee/jsf/FacesPlugin.java
M javaee-impl/src/main/java/org/jboss/forge/spec/javaee/rest/RestPlugin.java
M javaee-impl/src/main/resources/org/jboss/forge/rest/Endpoint.jv
M javaee-impl/src/test/java/org/jboss/forge/spec/plugin/RestPluginTest.java
A javaee-impl/src/test/resources/org/jboss/forge/spec/plugin/Group.java
M pom.xml
Log Message:
-----------
FORGE-813 Generate FETCH JOINs in the REST resource JPQL queries.
The JOIN FETCH expressions ensure that immediate collections are fetched. This fits in
well, with the upcoming changes for FORGE-606, where the first immediate properties of an
object are serialized, thus avoiding the open-session in view.
Collections at a deeper level in the related entities may be fetched, depending on the
EAGER/LAZY fetchType values on the nested collections.
Also replaced Seam Render usage with FreeMarker.