[ 
https://issues.apache.org/jira/browse/DERBY-2398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480564
 ] 

Jean T. Anderson commented on DERBY-2398:
-----------------------------------------

Incidently, in the old test, tests 11 and 12 output this message:

"expected to see resultset with one row of NULL value but instead get one row 
of non-NULL value from getGeneratedKeys"

Test 11 does a commit, followed by an insert into a table with no generated 
column.
Test 12 does a rollback, followed by an insert into a table with no generated 
column.

In both cases, the previous transaction had a one-row insert on a table with a 
auto-generated column.

I don't know if that indicates a potential problem in Derby handling. I'll be 
sure to copy those comments into code comments in the JUnit version.

> Convert jdbcapi/autoGeneratedJdbc30.java to junit
> -------------------------------------------------
>
>                 Key: DERBY-2398
>                 URL: https://issues.apache.org/jira/browse/DERBY-2398
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>            Reporter: Jean T. Anderson
>         Assigned To: Jean T. Anderson
>            Priority: Minor
>         Attachments: derby-2398-pre.diff, test_file_ignore_me.txt
>
>
> Convert the jdbcapi/autoGeneratedJdbc30.java test from the old harness to 
> junit.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to