I guess the canon needs updating here.  j9_foundation canons were not
updated as part of DERBY-690.

Dag

"Sunitha Kambhampati (JIRA)" <derby-dev@db.apache.org> writes:

> 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
>      Fix For: 10.2.0.0
>
>
> 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
>

-- 
Dag H. Wanvik
Sun Microsystems, Database Technology Group (DBTG)
Haakon VII gt. 7b, N-7485 Trondheim, Norway
Tel: x43496/+47 73842196, Fax:  +47 73842101

Reply via email to