Author: dan.j.allen
Date: 2008-04-30 14:55:59 -0400 (Wed, 30 Apr 2008)
New Revision: 8085
Modified:
branches/Seam_2_0/seam-gen/src/EntityHome.java.ftl
Log:
run getInstance() in wire() regardless of whether there are related entities for
consistent behavior
Modified: branches/Seam_2_0/seam-gen/src/EntityHome.java.ftl
===================================================================
--- branches/Seam_2_0/seam-gen/src/EntityHome.java.ftl 2008-04-30 18:17:33 UTC (rev 8084)
+++ branches/Seam_2_0/seam-gen/src/EntityHome.java.ftl 2008-04-30 18:55:59 UTC (rev 8085)
@@ -68,6 +68,7 @@
public void wire()
{
+ getInstance();
<#foreach property in pojo.allPropertiesIterator>
<#if c2h.isManyToOne(property)>
<#assign parentPojo =
c2j.getPOJOClass(cfg.getClassMapping(property.value.referencedEntityName))>