You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jm...@apache.org on 2001/07/02 19:40:28 UTC
cvs commit: jakarta-turbine/conf/torque/templates/om Object.vm
jmcnally 01/07/02 10:40:27
Modified: conf/torque/templates/om Object.vm
Log:
bugfix by Youngho Cho
Revision Changes Path
1.62 +1 -1 jakarta-turbine/conf/torque/templates/om/Object.vm
Index: Object.vm
===================================================================
RCS file: /home/cvs/jakarta-turbine/conf/torque/templates/om/Object.vm,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- Object.vm 2001/06/29 19:00:18 1.61
+++ Object.vm 2001/07/02 17:40:24 1.62
@@ -874,11 +874,11 @@
if (isNew())
{
${table.JavaName}Peer.doInsert(($table.JavaName)this, dbCon);
+ setNew(false);
}
else
{
${table.JavaName}Peer.doUpdate(($table.JavaName)this, dbCon);
- setNew(false);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org