| java.lang.Object org.apache.derbyTesting.functionTests.tests.lang.declareGlobalTempTableJava
declareGlobalTempTableJava | public class declareGlobalTempTableJava (Code) | | Test for declared global temporary tables introduced in Cloudscape 5.2
The temp table tests with holdable cursor and savepoints are in declareGlobalTempTableJavaJDBC30 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-jdk14 specific tests under all the jdks we support and hence splitting
the tests into 2 different classes
|
testDERBY1706 | static boolean testDERBY1706(Connection con1, Statement s) throws SQLException(Code) | | Test switching to session schema (it doesn't yet exist because
no create schema session has been issued yet) & then try to create
first persistent object in it. This used to cause null pointer
exception (DERBY-1706).
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 |
testOtherOperations | static boolean testOtherOperations(Connection con1, Statement s, Connection con2) throws SQLException(Code) | | Test various other operations on declared global temporary tables
Parameters: con1 - Connection to the database Parameters: s - A Statement on the Connection Parameters: con2 - Another Connection to the database true if it succeeds, false if it doesn't exception: SQLException - Thrown if some unexpected error happens |
testSchemaNameAndGrammar | static boolean testSchemaNameAndGrammar(Connection con1, Statement s) throws SQLException(Code) | | Test various schema and grammar related cases
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 |
|
|