You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2011/05/15 21:36:25 UTC

svn commit: r1103511 - /db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/impl/base/doUpdate.vm

Author: tfischer
Date: Sun May 15 19:36:24 2011
New Revision: 1103511

URL: http://svn.apache.org/viewvc?rev=1103511&view=rev
Log:
Fix javadoc

Modified:
    db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/impl/base/doUpdate.vm

Modified: db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/impl/base/doUpdate.vm
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/impl/base/doUpdate.vm?rev=1103511&r1=1103510&r2=1103511&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/impl/base/doUpdate.vm (original)
+++ db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/impl/base/doUpdate.vm Sun May 15 19:36:24 2011
@@ -32,6 +32,9 @@
      *
      * @param columnValues the values to update plus the primary key
      *        identifying the row to update.
+     *
+     * @return the number of affected rows.
+     *
      * @throws TorqueException Any exceptions caught during processing will be
      *         rethrown wrapped into a TorqueException.
      */
@@ -59,8 +62,7 @@
 
     /**
      * Method to do updates.  This method is to be used during a transaction,
-     * otherwise use the doUpdate(Criteria) method.  It will take care of
-     * the connection details internally.
+     * otherwise use the doUpdate(Criteria) method.
      *
      * @param columnValues the values to update plus the primary key
      *        identifying the row to update.
@@ -124,6 +126,8 @@
      * @param obj the data object to update in the database.
      * @param con the connection to use, not null.
      
+     * @return the number of affected rows.
+     *
      * @throws TorqueException Any exceptions caught during processing will be
      *         rethrown wrapped into a TorqueException.
      */



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