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 <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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]