db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1622331 - /db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/general/saveMethods.vm
Date Wed, 03 Sep 2014 19:33:34 GMT
Author: tfischer
Date: Wed Sep  3 19:33:34 2014
New Revision: 1622331

URL: http://svn.apache.org/r1622331
Log:
TORQUE-316 generate correct bean code if complexObjectModel is false

Modified:
    db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/general/saveMethods.vm

Modified: db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/general/saveMethods.vm
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/general/saveMethods.vm?rev=1622331&r1=1622330&r2=1622331&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/general/saveMethods.vm
(original)
+++ db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/general/saveMethods.vm
Wed Sep  3 19:33:34 2014
@@ -62,7 +62,7 @@
                 if (${toSaveVariableWithDot}isNew())
                 {
                     ${peerClassName}.doInsert(${toSaveVariable});
-                    toSave.setNew(false);
+                    ${toSaveVariableWithDot}setNew(false);
                 }
                 else
                 {



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message