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] Commented: (DERBY-2293) convert batchUpdate.java to junit
Date Mon, 05 Feb 2007 21:31:05 GMT

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

Myrna van Lunteren commented on DERBY-2293:

It seemed to me the current assertStatementError implementations expect a (prepared/callable/)statement
to execute() (or executeUpdate()). But executeBatch() cannot be executed that way.

I guess I could make a assertBatchExecuteError, but I thought it would not be very widely
applicable. Now I think it makes sense to create one, if only in this test. I'll modify the
test. If it turns out the method is more widely useable, it can be moved into one of the junit
super/utility/setup classes later.

> 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
> 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