db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew McIntyre (JIRA)" <derby-...@db.apache.org>
Subject [jira] Resolved: (DERBY-1309) Test lang/updatableResultSet.java fails on wctme5.7_foundation
Date Mon, 15 May 2006 23:35:07 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1309?page=all ]
     
Andrew McIntyre resolved DERBY-1309:
------------------------------------

    Resolution: Fixed
    Derby Info:   (was: [Patch Available, Regression])

Committed revision 406775.

> Test lang/updatableResultSet.java fails on wctme5.7_foundation
> --------------------------------------------------------------
>
>          Key: DERBY-1309
>          URL: http://issues.apache.org/jira/browse/DERBY-1309
>      Project: Derby
>         Type: Bug

>   Components: Test, Regression Test Failure
>     Versions: 10.2.0.0
>  Environment: derby jars used - 10.2.0.0 alpha - (400220), machine is a win2000.
>     Reporter: Sunitha Kambhampati
>     Assignee: Myrna van Lunteren
>     Priority: Minor
>      Fix For: 10.2.0.0
>  Attachments: DERBY-1309_20060515.diff
>
> 05/05/2006 regression test run of derbyall shows the following test failure with wctme5.7_foundation,
lang/updatableResultSet.java
>  
> ********* Diff file derbyall/derbylang/updatableResultSet.diff
> *** Start: updatableResultSet jdkJ2ME Foundation Specification v1.0 derbyall:derbylang
2006-05-07 10:52:37 ***
> 3 del
> < WARNING 01J03: Scroll sensitive and scroll insensitive updatable ResultSets are
not currently implemented.
> 4 del
> < requested TYPE_SCROLL_INSENSITIVE, CONCUR_UPDATABLE but that is not supported
> 4a3,7
> > This test has been removed because scrollable insensitive updatable result sets
have been implemented.
> > Negative Test2 - request for scroll sensitive updatable resultset will give an updatable
scroll insensitive resultset
> > WARNING 01J02: Scroll sensitive cursors are not currently implemented.
> > requested TYPE_SCROLL_SENSITIVE, CONCUR_UPDATABLE but that is not supported
> > Jira issue Derby-154 : When client connects to Network Server using JCC, it incorrectly
shows support for scroll sensitive updatable resultsets
> 5a9,11
> > Make sure that we got CONCUR_UPDATABLE? true
> > Rest of the test removed because scrollable insensitive updatable result sets have
been implemented.
> > Negative Test3 - request a read only resultset and attempt deleteRow and updateRow
on it
> 7 del
> < ownDeletesAreVisible(ResultSet.TYPE_SCROLL_INSENSITIVE)? false
> 8 del
> < othersDeletesAreVisible(ResultSet.TYPE_SCROLL_INSENSITIVE)? false
> 9 del
> < deletesAreDetected(ResultSet.TYPE_SCROLL_INSENSITIVE)? false
> 10,28d12
> < JDBC 2.0 updatable resultset api will fail on this resultset because this is not
an updatable resultset
> < SQL State : XJ083
> < Got expected exception 'deleteRow' not allowed because the ResultSet is not an updatable
ResultSet. 
> < SQL State : XJ083
> < Got expected exception 'updateRow' not allowed because the ResultSet is not an updatable
ResultSet. 
> < Negative Test2 - request for scroll sensitive updatable resultset will give a read
only scroll insensitive resultset
> < WARNING 01J02: Scroll sensitive cursors are not currently implemented.
> < WARNING 01J03: Scroll sensitive and scroll insensitive updatable ResultSets are
not currently implemented.
> < requested TYPE_SCROLL_SENSITIVE, CONCUR_UPDATABLE but that is not supported
> < Jira issue Derby-154 : When client connects to Network Server using JCC, it incorrectly
shows support for scroll sensitive updatable resultsets
> < Make sure that we got TYPE_SCROLL_INSENSITIVE? true
> < Make sure that we got CONCUR_READ_ONLY? true
> < JDBC 2.0 updatable resultset api will fail on this resultset because this is not
an updatable resultset
> < SQL State : XJ083
> < Got expected exception 'deleteRow' not allowed because the ResultSet is not an updatable
ResultSet. 
> < SQL State : XJ083
> < Got expected exception 'updateRow' not allowed because the ResultSet is not an updatable
ResultSet. 
> < Negative Test3 - request a read only resultset and attempt deleteRow and updateRow
on it
> < Make sure that we got CONCUR_READ_ONLY? true
> 54d37
> < Will see the warnings in embedded mode only
> 2774 del
> < Got expected exception: This method cannot be invoked unless the cursor is positioned
on the insert row.
> 2774a2757
> > Got expected exception: This method cannot be invoked while the cursor is not on
the insert row or if the concurrency of this ResultSet object is CONCUR_READ_ONLY.
> Test Failed.
> *** End:   updatableResultSet jdkJ2ME Foundation Specification v1.0 derbyall:derbylang
2006-05-07 10:53:25 ***

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message