[ http://issues.apache.org/jira/browse/DERBY-1503?page=all ]

Knut Anders Hatlen updated DERBY-1503:
--------------------------------------

    Attachment: derby-1503-v1.diff

The attached patch changes StatementEventsTest the following way:

  1) New methods setXA() and setCallable() which make it possible to
     use the same test method to test XAConnection/PooledConnection
     and PreparedStatement/CallableStatement.

  2) Split the test methods into smaller ones.

  3) Use asserts to report errors instead of System.out.println().

> Make jdbc4/StatementEventsTest.junit test callable statements
> -------------------------------------------------------------
>
>          Key: DERBY-1503
>          URL: http://issues.apache.org/jira/browse/DERBY-1503
>      Project: Derby
>         Type: Improvement

>   Components: JDBC, Test
>     Versions: 10.2.0.0
>     Reporter: Knut Anders Hatlen
>     Assignee: Knut Anders Hatlen
>     Priority: Minor
>  Attachments: derby-1503-v1.diff
>
> Currently, StatementEventsTest only tests that statement events work with 
> prepared statements. It should also test callable statements.

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

Reply via email to