Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 5643 invoked from network); 20 Mar 2007 20:06:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Mar 2007 20:06:22 -0000 Received: (qmail 92949 invoked by uid 500); 20 Mar 2007 20:06:30 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 92923 invoked by uid 500); 20 Mar 2007 20:06:30 -0000 Mailing-List: contact ojb-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "OJB Developers List" Reply-To: "OJB Developers List" Delivered-To: mailing list ojb-dev@db.apache.org Received: (qmail 92912 invoked by uid 500); 20 Mar 2007 20:06:30 -0000 Received: (qmail 92909 invoked by uid 99); 20 Mar 2007 20:06:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Mar 2007 13:06:30 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Mar 2007 13:06:21 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 997A51A9838; Tue, 20 Mar 2007 13:06:01 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r520548 - /db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/query/Query.java Date: Tue, 20 Mar 2007 20:06:01 -0000 To: ojb-commits@db.apache.org From: arminw@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070320200601.997A51A9838@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: arminw Date: Tue Mar 20 13:06:00 2007 New Revision: 520548 URL: http://svn.apache.org/viewvc?view=rev&rev=520548 Log: javadoc Modified: db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/query/Query.java Modified: db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/query/Query.java URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/query/Query.java?view=diff&rev=520548&r1=520547&r2=520548 ============================================================================== --- db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/query/Query.java (original) +++ db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/query/Query.java Tue Mar 20 13:06:00 2007 @@ -188,14 +188,18 @@ boolean isSelectForUpdate(); /** - * Set true if a "select ... for update" database - * lock should be used (OJB will append the 'FOR UPDATE' expression - * at the end of the query string). By default it's disabled. + * Set true to perform a "select ... for update" query. + * OJB will append the 'FOR UPDATE' expression + * at the end of the query string. By default it's disabled. + * + * @param forUpdate Set true to enable 'FOR UPDATE' select-query. */ void setSelectForUpdate(boolean forUpdate); /** - * Set an affix at the end of the query string. + * Set an affix to the end of the query string. This allows to append + * database specific expressions (not supported by OJB) to the end of + * the query (e.g. "FOR FETCH ONLY"). * * @param affix The affix string to append at the end of the query string. */ --------------------------------------------------------------------- To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For additional commands, e-mail: ojb-dev-help@db.apache.org