db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2293) convert batchUpdate.java to junit
Date Sat, 10 Feb 2007 01:25:05 GMT

     [ https://issues.apache.org/jira/browse/DERBY-2293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Myrna van Lunteren updated DERBY-2293:

    Attachment: DERBY-2293_20070209.diff

Attaching a patch that differs from the one from yesterday in that:
- the decorator now creates tables using statements & there is a separate little fixture
to test create tables in batch (called testMinimalDDLInBatch)
- the decorator doesn't create its own statement but uses the one passed in
- the setUp() now relies on the normal connection and sets AutoCommit to false
- all superfluous getConnection().setAutocommit(false) statements have been removed from individual
- all superfluous s.execute("delete from t1"), which is done in the setUp(), have been removed
from individual fixtures.

I tested just the jdbcapi._Suite again and all still works.
I'll commit this soon.

> convert batchUpdate.java to junit
> ---------------------------------
>                 Key: DERBY-2293
>                 URL: https://issues.apache.org/jira/browse/DERBY-2293
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>            Reporter: Myrna van Lunteren
>         Assigned To: Myrna van Lunteren
>            Priority: Minor
>         Attachments: DERBY-2293_20070205.diff, DERBY-2293_20070205.stat, DERBY-2293_20070206.diff,
DERBY-2293_20070206.stat, DERBY-2293_20070206_2.diff, DERBY-2293_20070208.diff, DERBY-2293_20070209.diff
> Convert the test jdbcapi.batchUpdate.java to junit framework

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

View raw message