SQLUnit and IBM DB2 - Cannot build connection

Developers
2009-07-22
2013-04-25
  • When executing test cases against IBM DB2, I got the error “Cannot build Connection (connection-id=null) because The driver does not support this function.” See details of the error in the bottom of this message.

    - IBM DB2:       Installed on AS400
    - Driver used: com.ibm.as400.access.AS400JDBCDriver
    - The test suite was executed by using command line: ant sqlunit-flat -Dtestfile=test/ibmdb2/test.xml
    - SQLUnit version: 5.0

    Note: I tried some test suite samples using MySQL and they all work, but IBM DB2

    ****************************************************
    sqlunit-flat:
      [sqlunit] *** Running SQLUnit file: test/ibmdb2/test.xml
      [sqlunit] Getting connection(DEFAULT)
      [sqlunit] Cannot build Connection (connection-id=null) because The driver does
    not support this function.
      [sqlunit] sqlunit-ant: Cannot build Connection (connection-id=null) because Th
    e driver does not support this function.
      [sqlunit] Cannot build Connection (connection-id=null) because The driver does
    not support this function.

     
    • It seems that SQLUnit does not support IBM DB2.

      Any idea, please help?