db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r520549 - /db/ojb/trunk/src/java/org/apache/ojb/broker/query/Query.java
Date Tue, 20 Mar 2007 20:06:32 GMT
Author: arminw
Date: Tue Mar 20 13:06:31 2007
New Revision: 520549

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

Modified:
    db/ojb/trunk/src/java/org/apache/ojb/broker/query/Query.java

Modified: db/ojb/trunk/src/java/org/apache/ojb/broker/query/Query.java
URL: http://svn.apache.org/viewvc/db/ojb/trunk/src/java/org/apache/ojb/broker/query/Query.java?view=diff&rev=520549&r1=520548&r2=520549
==============================================================================
--- db/ojb/trunk/src/java/org/apache/ojb/broker/query/Query.java (original)
+++ db/ojb/trunk/src/java/org/apache/ojb/broker/query/Query.java Tue Mar 20 13:06:31 2007
@@ -152,14 +152,18 @@
     boolean isSelectForUpdate();
 
     /**
-     * Set <em>true</em> 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 <em>true</em> 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 <tt>true</tt> 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


Mime
View raw message