public final class HoldCursorJDBC30Test extends BaseJDBCTestCase
DEFAULT_DB_DIR, DERBY_LOG, ERRORSTACKTRACEFILE| Constructor and Description |
|---|
HoldCursorJDBC30Test(java.lang.String name)
Public constructor required for running test as standalone JUnit.
|
| Modifier and Type | Method and Description |
|---|---|
private static junit.framework.Test |
decorateTest(junit.framework.Test test)
This will allow us to decorate the test for each driver separately
|
protected void |
setUp()
Disabling auto-commit for all tests
|
static junit.framework.Test |
suite() |
void |
testBasicBtreeScanForZeroRowsReadOnlyNoGroupFetch()
The following tests that no matter where commit comes in the state of
the scan that the scan will continue after the commit.
|
void |
testBasicBtreeScanForZeroRowsUpdateNonkeyfield()
basic btree scan tests (zero rows/update nonkey field)
The following tests that no matter where commit comes in the state of
the scan that the scan will continue after the commit.
|
void |
testBasicBtreeScanTestsForMultipleRowsOrReadOnly()
basic btree scan tests (multiple rows/read only/no group fetch)
The following tests that no matter where commit comes in the state of
the scan that the scan will continue after the commit.
|
void |
testBasicBtreeScanTestsForMultipleRowsOrUpdateNonkeyField()
The following tests that no matter where commit comes in the state of
the scan that the scan will continue after the commit.
|
void |
testBasicHeapScanMultiRows()
The following tests that no matter where commit comes in the state of
the scan that the scan will continue after the commit.
|
void |
testBasicHeapScanZeroRows()
The following tests that no matter where commit comes in the state of
the scan that the scan will continue after the commit.
|
void |
testBeetle4902()
test query plans which use reopenScan() on a btree to
do the inner table processing of a join.
|
void |
testBeetle4902WithBulkFetchDefaultSet()
test query plans which use reopenScan() on a btree to
do the inner table processing of a join.
|
void |
testDistinctScalarAggregateResultSet()
test of hold cursor code in DistinctScalarAggregateResultSet.java
Directed test of hold cursor as applies to sort scans opened by
DistinctScalarAggregateResultSet.java.
|
void |
testDistinctScalarAggregateResultSetGrouped()
test of hold cursor code in GroupedAggregateResultSet.java
Directed test of hold cursor as applies to sort scans opened by
GroupedAggregateResultSet.java.
|
void |
testOrder()
basic tests for cursors with order by
The following tests that no matter where commit comes in the state of
the scan that the scan will continue after the commit.
|
void |
testPositionPurgedPage()
test scan positioned on a page which has been purged (should really
not be any different than a row being purged).
|
void |
testPositionPurgedRow()
test scan positioned on a row which has been purged.
|
assertCallError, assertCheckTable, assertCompileError, assertEquals, assertEquals, assertEquals, assertEquivalentDataType, assertErrorCode, assertGetIntError, assertNextError, assertPreparedStatementError, assertSQLExceptionEquals, assertSQLState, assertSQLState, assertStatementError, assertStatementError, assertStatementError, assertStatementError, assertStatementErrorUnordered, assertTableRowCount, assertUpdateCount, assertUpdateCount, assertWarning, checkAllConsistency, checkEstimatedRowCount, closeStatement, commit, createStatement, createStatement, createStatement, dropTable, dropTable, dropView, dropView, emptyStatementCache, getClientTransactionID, getConnection, getDatabaseProperty, getLastSQLException, initializeConnection, openConnection, openDefaultConnection, openDefaultConnection, openDefaultConnection, openUserConnection, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, rollback, runBare, runBareOverridable, runScript, runScript, runSQLCommands, setAutoCommit, tearDown, usingDB2Client, usingDerbyNetClient, usingEmbeddedalarm, assertDirectoryDeleted, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertExecJavaCmdAsExpected, assertLaunchedJUnitTestMethod, assertLaunchedJUnitTestMethod, assertSecurityManager, assertThrowableEquals, currentDirectory, execJavaCmd, execJavaCmd, fail, getClassVersionMajor, getEmmaJar, getFailureFolder, getFilesWith, getJavaExecutableName, getSystemProperty, getTestConfiguration, getTestResource, hasInterruptibleIO, isCVM, isIBMJVM, isJ9Platform, isJava5, isJava7, isJava8, isPhoneME, isPlatform, isSunJVM, isWindowsPlatform, openTestResource, println, printStackTrace, readProcessOutput, removeDirectory, removeDirectory, removeFiles, removeSystemProperty, runsWithEmma, runsWithJaCoCo, setSystemProperty, sleep, sleepAtLeastOneTick, traceitassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runTest, setName, toStringpublic HoldCursorJDBC30Test(java.lang.String name)
private static junit.framework.Test decorateTest(junit.framework.Test test)
public static junit.framework.Test suite()
protected void setUp()
throws java.sql.SQLException
setUp in class junit.framework.TestCasejava.sql.SQLExceptionpublic void testBasicHeapScanZeroRows()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testBasicHeapScanMultiRows()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testBasicBtreeScanForZeroRowsUpdateNonkeyfield()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testBasicBtreeScanTestsForMultipleRowsOrUpdateNonkeyField()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testBasicBtreeScanForZeroRowsReadOnlyNoGroupFetch()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testBasicBtreeScanTestsForMultipleRowsOrReadOnly()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testOrder()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testDistinctScalarAggregateResultSet()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testDistinctScalarAggregateResultSetGrouped()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testPositionPurgedRow()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testPositionPurgedPage()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testBeetle4902()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testBeetle4902WithBulkFetchDefaultSet()
throws java.sql.SQLException
java.sql.SQLExceptionApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.