db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r593547 - in /db/derby/docs/branches/10.3/src: devguide/rdevconceptssur.dita ref/rrefjdbc77156.dita
Date Fri, 09 Nov 2007 14:45:12 GMT
Author: dag
Date: Fri Nov  9 06:45:12 2007
New Revision: 593547

URL: http://svn.apache.org/viewvc?rev=593547&view=rev
Log:
DERBY-1769 Add mention that Derby supports rowUpdated, rowDeleted with a result set concurrency
of CONCUR_READ_ONLY

Merged from docs trunk as
svn merge -r 592729:592730 https://svn.apache.org/repos/asf/db/derby/docs/trunk

Modified:
    db/derby/docs/branches/10.3/src/devguide/rdevconceptssur.dita
    db/derby/docs/branches/10.3/src/ref/rrefjdbc77156.dita

Modified: db/derby/docs/branches/10.3/src/devguide/rdevconceptssur.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/branches/10.3/src/devguide/rdevconceptssur.dita?rev=593547&r1=593546&r2=593547&view=diff
==============================================================================
--- db/derby/docs/branches/10.3/src/devguide/rdevconceptssur.dita (original)
+++ db/derby/docs/branches/10.3/src/devguide/rdevconceptssur.dita Fri Nov  9 06:45:12 2007
@@ -81,12 +81,21 @@
 </note> 
 </li>
 <li>Rows inserted to the table may become visible in the result set.</li>
+
 <li><codeph>ResultSet.rowDeleted()</codeph> returns true if the row
-has been deleted using the cursor or result set.  It does not detect 
-deletes made by other statements or transactions.  </li>
+has been deleted using the cursor or result set.  It does not detect
+deletes made by other statements or transactions.  Note that the
+method will also work for result sets with concurrency
+CONCUR_READ_ONLY if the underlying result set is FOR UPDATE and a
+cursor was used to delete the row.
+</li>
 <li><codeph>ResultSet.rowUpdated()</codeph> returns true if the row
 has been updated using the cursor or result set. It does not detect
-updates made by other statements or transactions. </li>
+updates made by other statements or transactions.  Note that the
+method will also work for result sets with concurrency
+CONCUR_READ_ONLY if the underlying result set is FOR UPDATE and a
+cursor was used to update the row.
+</li>
 <li> <note>Both <codeph>ResultSet.rowUpdated()</codeph> and
 <codeph>ResultSet.rowDeleted()</codeph> return true if the row
 first is updated and later deleted. </note> </li>

Modified: db/derby/docs/branches/10.3/src/ref/rrefjdbc77156.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/branches/10.3/src/ref/rrefjdbc77156.dita?rev=593547&r1=593546&r2=593547&view=diff
==============================================================================
--- db/derby/docs/branches/10.3/src/ref/rrefjdbc77156.dita (original)
+++ db/derby/docs/branches/10.3/src/ref/rrefjdbc77156.dita Fri Nov  9 06:45:12 2007
@@ -156,8 +156,8 @@
 <row>
 <entry colname="1"><i>boolean</i></entry>
 <entry colname="2"><i>rowDeleted()</i></entry>
-<entry colname="3">For forward-only result sets this methods always returns <i>false</i>,
for 
-scrollable result sets it returns <i>true</i> if the row has been deleted.</entry>
+<entry colname="3">For forward-only result sets this method always returns <i>false</i>,
for 
+scrollable result sets it returns <i>true</i> if the row has been deleted, via
result set or positioned delete.</entry>
 </row>
 <row>
 <entry colname="1"><i>boolean</i></entry>
@@ -167,8 +167,8 @@
 <row>
 <entry colname="1"><i>boolean</i></entry>
 <entry colname="2"><i>rowUpdated()</i></entry>
-<entry colname="3">For forward-only result sets this methods always returns <i>false</i>,
for 
-scrollable result sets it returns <i>true</i> if the row has been updated.</entry>
+<entry colname="3">For forward-only result sets this method always returns <i>false</i>,
for 
+scrollable result sets it returns <i>true</i> if the row has been updated, via
result set or positioned update.</entry>
 </row>
 <row>
 <entry colname="1"><i>boolean</i></entry>



Mime
View raw message