Currently, there is one suite of tests used to verify JDBC4 features:
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