| java.lang.Object org.apache.derbyTesting.functionTests.tests.lang.declareGlobalTempTableJavaJDBC30
declareGlobalTempTableJavaJDBC30 | public class declareGlobalTempTableJavaJDBC30 (Code) | | Test for declared global temporary tables (introduced in Cloudscape 5.2) and pooled connection close and jdbc 3.0 specific features
The jdbc3.0 specific featuers are holdable cursors, savepoints.
The rest of the temp table test are in declareGlobalTempTableJava class. The reason for a different test
class is that the holdability and savepoint support is under jdk14 and higher. But we want to be able to run the non-holdable
tests under all the jdks we support and hence splitting the tests into two separate tests. Also, the reason for pooled connection close
is because DRDA doesn't yet have support for pooled connection and hence can't pull this test into other temp table test which runs under
both DRDA and plain Cloudscape.
|
testHoldableCursorsAndSavepoints | static boolean testHoldableCursorsAndSavepoints(Connection con, Statement s) throws SQLException(Code) | | Test temp tables with holdable cursors and with ON COMMIT DELETE ROWS and ON COMMIT PRESERVE ROWS
Test temp tables rollback behavior in combination with savepoints
Parameters: conn - The Connection Parameters: s - A Statement on the Connection true if it succeeds, false if it doesn't exception: SQLException - Thrown if some unexpected error happens |
testPooledConnectionClose | static boolean testPooledConnectionClose() throws SQLException(Code) | | Test that global temporary tables declared in a connection handle to pooled connection are dropped at connection handle close time
and are not available to next connection handle to the same pooled connection
Parameters: conn - The Connection Parameters: s - A Statement on the Connection true if it succeeds, false if it doesn't exception: SQLException - Thrown if some unexpected error happens |
|
|