public class OptimizerOverridesTest extends BaseJDBCTestCase
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String[][] |
FULL_TABLE |
DEFAULT_DB_DIR, DERBY_LOG, ERRORSTACKTRACEFILE| Constructor and Description |
|---|
OptimizerOverridesTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static junit.framework.Test |
suite() |
void |
testBadFormats()
Negative tests for bad formats.
|
void |
testBadProperties()
Test bad properties.
|
void |
testComparision()
Comparisons that can't get pushed down.
|
void |
testDependenceOnConstraint()
Verify that statements are dependent
on specified constraint.
|
void |
testDependenceOnIndex()
Verify that statements are dependent
on specified index.
|
void |
testFragmentsAsComments()
Make sure following fragments get treated as comments.
|
void |
testInsertModeValue()
Negative test. insertModeValue is not available to a user
and hence will give a syntax error.
|
void |
testInvalidJoinStrategy() |
void |
testJoin() |
void |
testMixedIndexAndConstraint()
Test both index and constraint.
|
void |
testNestedLoopJoinStrategy() |
void |
testNonExistingPropertyValues()
Test not existing values of property.
|
void |
testNullValue() |
void |
testPropertyForUpdate()
Index which includes columns in for update of list.
|
void |
testSpell()
Test case insensitivity, spelling sensitivity
and delimited index.
|
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, setUp, toStringpublic static junit.framework.Test suite()
public void testBadFormats()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testBadProperties()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testNonExistingPropertyValues()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testFragmentsAsComments()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testMixedIndexAndConstraint()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testPropertyForUpdate()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testInvalidJoinStrategy()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testDependenceOnIndex()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testDependenceOnConstraint()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testSpell()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testNullValue()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testJoin()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testComparision()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testNestedLoopJoinStrategy()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testInsertModeValue()
throws java.sql.SQLException
java.sql.SQLExceptionApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.