Return-Path: X-Original-To: apmail-db-torque-dev-archive@www.apache.org Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2C6214E1F for ; Sun, 15 May 2011 19:36:46 +0000 (UTC) Received: (qmail 23158 invoked by uid 500); 15 May 2011 19:36:46 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 23136 invoked by uid 500); 15 May 2011 19:36:46 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 23128 invoked by uid 500); 15 May 2011 19:36:46 -0000 Received: (qmail 23125 invoked by uid 99); 15 May 2011 19:36:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 May 2011 19:36:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 May 2011 19:36:45 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0D70B2388980; Sun, 15 May 2011 19:36:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1103511 - /db/torque/torque4/trunk/torque-templates/src/main/resources/org/apache/torque/templates/om/templates/peer/impl/base/doUpdate.vm Date: Sun, 15 May 2011 19:36:25 -0000 To: torque-commits@db.apache.org From: tfischer@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110515193625.0D70B2388980@eris.apache.org> 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