Running the JDBC4 Tests

Currently, there is one suite of tests used to verify JDBC4 features:

Note that two of the tests in this suite (jdbc4/TestDbMetaData.java and jdbc4/TestJDBC40Exception.java) are excluded from the DerbyNetClient run. Eventually, we hope to run these tests under DerbyNetClient. At that time, we can remove these tests from suites/DerbyNetClient.exclude.

Before running these tests, you must first build the optional jkd16 support as described in trunk/BUILDING.txt.

Verifying the JDBC4 feature set is a little tiresome right now. You must run the following commands in a shell window whose JAVA_HOME points at your jdk1.6 installation. After each suite run, check the test results.

java org.apache.derbyTesting.functionTests.harness.RunSuite jdbc40

# make sure the above test run succeeded

java -Dframework=DerbyNetClient org.apache.derbyTesting.functionTests.harness.RunSuite jdbc40

# make sure the above test run succeeded