Author: pete.muir(a)jboss.org
Date: 2008-04-29 16:06:04 -0400 (Tue, 29 Apr 2008)
New Revision: 8076
Modified:
branches/Seam_2_0/seam-gen/src/EntityHome.java.ftl
trunk/seam-gen/src/EntityHome.java.ftl
Log:
JBSEAM-2836
Modified: branches/Seam_2_0/seam-gen/src/EntityHome.java.ftl
===================================================================
--- branches/Seam_2_0/seam-gen/src/EntityHome.java.ftl 2008-04-29 18:58:45 UTC (rev 8075)
+++ branches/Seam_2_0/seam-gen/src/EntityHome.java.ftl 2008-04-29 20:06:04 UTC (rev 8076)
@@ -67,6 +67,7 @@
public void wire()
{
+ getInstance();
<#foreach property in pojo.allPropertiesIterator>
<#if c2h.isManyToOne(property)>
<#assign parentPojo =
c2j.getPOJOClass(cfg.getClassMapping(property.value.referencedEntityName))>
Modified: trunk/seam-gen/src/EntityHome.java.ftl
===================================================================
--- trunk/seam-gen/src/EntityHome.java.ftl 2008-04-29 18:58:45 UTC (rev 8075)
+++ trunk/seam-gen/src/EntityHome.java.ftl 2008-04-29 20:06:04 UTC (rev 8076)
@@ -67,6 +67,7 @@
public void wire()
{
+ getInstance()
<#foreach property in pojo.allPropertiesIterator>
<#if c2h.isManyToOne(property)>
<#assign parentPojo =
c2j.getPOJOClass(cfg.getClassMapping(property.value.referencedEntityName))>