Author: mwriedt
Date: Tue Aug 19 08:57:02 2025
New Revision: 1927873

Log:
Fixed variable naming in Documentation and added missing option

Modified:
   
db/torque/trunk/torque-site/src/site/xdoc/documentation/orm-reference/customizing-generation.xml
   
db/torque/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/base/saveMethods.vm

Modified: 
db/torque/trunk/torque-site/src/site/xdoc/documentation/orm-reference/customizing-generation.xml
==============================================================================
--- 
db/torque/trunk/torque-site/src/site/xdoc/documentation/orm-reference/customizing-generation.xml
    Tue Aug 19 08:30:16 2025        (r1927872)
+++ 
db/torque/trunk/torque-site/src/site/xdoc/documentation/orm-reference/customizing-generation.xml
    Tue Aug 19 08:57:02 2025        (r1927873)
@@ -89,16 +89,21 @@
       </td>
     </tr>
     <tr>
-      <td><code>torque.om.save.addSaveMethods</code></td>
+      <td><code>torque.om.addSaveMethods</code></td>
       <td><code>true</code></td>
       <td>Determines whether a save method is generated.</td>
     </tr>
     <tr>
-      <td><code>torque.om.save.saveException</code></td>
+      <td><code>torque.om.saveException</code></td>
       <td><code>Exception</code></td>
       <td>Defines which Exception should be thrown by the DbObject.save() 
method.</td>
     </tr>
     <tr>
+        <td><code>torque.om.saveMethodsInDbObjects</code></td>
+        <td><code>true</code></td>
+        <td>Determines whether a save method is generated in the DbObject 
(default) or the corresponding Peer.</td>
+    </tr>
+    <tr>
       <td><code>torque.om.trackModified</code></td>
       <td><code>true</code></td>
       <td>

Modified: 
db/torque/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/base/saveMethods.vm
==============================================================================
--- 
db/torque/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/base/saveMethods.vm
       Tue Aug 19 08:30:16 2025        (r1927872)
+++ 
db/torque/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/base/saveMethods.vm
       Tue Aug 19 08:57:02 2025        (r1927873)
@@ -23,7 +23,7 @@
 ## The template expects as input a "table" element from the torque schema, 
 ## which was processed by the OMTransformer.  
 ##
-#set ( $saveException = $torqueGen.option("torque.om.save.saveException") )
+#set ( $saveException = $torqueGen.option("torque.om.saveException") )
     /**
      * Stores an object in the database.  If the object is new,
      * it is inserted; otherwise an update is performed.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to