jon 01/05/14 18:29:30
Modified: conf/torque/templates/om Peer.vm
Log:
minor fixes to prevent null errors in the logs
Revision Changes Path
1.56 +2 -2 jakarta-turbine/conf/torque/templates/om/Peer.vm
Index: Peer.vm
===================================================================
RCS file: /home/cvs/jakarta-turbine/conf/torque/templates/om/Peer.vm,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- Peer.vm 2001/05/10 23:01:42 1.55
+++ Peer.vm 2001/05/15 01:29:29 1.56
@@ -116,7 +116,7 @@
}
-#if ($table.ChildrenColumn || $table.isAbstract())
+#if ($table.ChildrenColumn)
#set ($col = $table.ChildrenColumn)
#set ( $tfc=$table.JavaName )
@@ -1104,10 +1104,10 @@
#set ($classDecl = "Class")
#if ($table.ChildrenColumn || $table.isAbstract())
- #set ($col = $table.ChildrenColumn)
#if ($table.isAbstract())
$classDecl omClass = ${table.JavaName}Peer.getOMClass();
#else
+ #set ($col = $table.ChildrenColumn)
$classDecl omClass = ${table.JavaName}Peer.getOMClass(row, 1);
#end
#set ($classDecl = "")
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]