Issue Details (XML | Word | Printable)

Key: DERBY-1323
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Dag H. Wanvik
Reporter: Dag H. Wanvik
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

Detectability methods rowUpdated, rowInserted, rowDeleted can be called from illegal states in both clients

Created: 12/May/06 09:51 PM   Updated: 30/Jun/09 04:12 PM
Return to search
Component/s: JDBC, Network Client
Affects Version/s: 10.2.1.6
Fix Version/s: 10.2.1.6

Time Tracking:
Not Specified

File Attachments:
  Size
File Licensed for inclusion in ASF works DERBY-1323-1.diff 2006-05-15 10:08 AM Dag H. Wanvik 19 kB
File Licensed for inclusion in ASF works DERBY-1323-1.stat 2006-05-15 10:08 AM Dag H. Wanvik 0.9 kB
File Licensed for inclusion in ASF works DERBY-1323-2.diff 2006-05-19 06:09 AM Dag H. Wanvik 19 kB
File Licensed for inclusion in ASF works DERBY-1323-2.stat 2006-05-19 06:09 AM Dag H. Wanvik 0.9 kB
Java Source File Licensed for inclusion in ASF works Main.java 2006-05-12 09:53 PM Dag H. Wanvik 8 kB

Issue & fix info: Release Note Needed
Resolution Date: 23/May/06 06:45 PM


 Description  « Hide
Please see enclosed repro.

These detectability methods fail to check that they can be called in
some states. In the repro, calls are allowed while on insert row and
when after last row. These should both fail. Both clients have the
same problem. All three detectability methods have the same problem.
(repro only shows it for a subset of the cases).


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #408875 Tue May 23 11:43:31 UTC 2006 bernt DERBY-1323 Detectability methods rowUpdated, rowInserted, rowDeleted can be called from illegal states in both clients. Submitted by Dag H. Wanvik
Files Changed
MODIFY /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/updatableResultSet.out
MODIFY /db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/EmbedResultSet.java
MODIFY /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/jdk14/updatableResultSet.out
MODIFY /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/j9_foundation/updatableResultSet.out
MODIFY /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/j9_13/updatableResultSet.out
MODIFY /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/DerbyNetClient/jdk14/updatableResultSet.out
MODIFY /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/SURTest.java
MODIFY /db/derby/code/trunk/java/client/org/apache/derby/client/am/ResultSet.java
MODIFY /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/master/updatableResultSet.out
MODIFY /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/updatableResultSet.java

Repository Revision Date User Message
ASF #447505 Mon Sep 18 19:06:53 UTC 2006 rhillegas DERBY-1860: Incorporate release notes for DERBY-1295, DERBY-1314, and DERBY-1323 submitted by Fernanda, Knut Anders, and Dag.
Files Changed
MODIFY /db/derby/code/branches/10.2/RELEASE-NOTES.html