Have BaseJDBCTestCase have a Connection field to cover the common case where 
one connection is used.
----------------------------------------------------------------------------------------------------

                 Key: DERBY-1562
                 URL: http://issues.apache.org/jira/browse/DERBY-1562
             Project: Derby
          Issue Type: Sub-task
            Reporter: Daniel John Debrunner


Most JDBC tests that extend BaseJDBCTestCase  have their own connection field 
and their own tearDown method to close the connection, this is all common code 
that should be in the base class. Once the getConnection method becomes an 
instance method (rather than a static method see DERBY-1555) then it could 
create the connection on demand.

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