public class ImportExportBinaryDataTest extends ImportExportBaseTest
| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.String |
fileName |
DEFAULT_DB_DIR, DERBY_LOG, ERRORSTACKTRACEFILE| Constructor and Description |
|---|
ImportExportBinaryDataTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
private static void |
loadData(java.sql.Statement s) |
protected void |
setUp()
Simple set up, just empty the import table.
|
static junit.framework.Test |
suite()
Runs the tests in the default embedded configuration and then
the client server configuration.
|
protected void |
tearDown()
delete export/import files.
|
void |
testDerby2925ExportQuery() |
void |
testDerby2925ExportTable() |
void |
testDerby4677BulkInsertIntoEmptyTable()
Bulk insert into a table should recreate the indexes correctly rather
than ignoring the unique nullable property of the index.
|
void |
testDerby4677BulkInsertWithReplace()
Bulk insert into a table should recreate the indexes correctly rather
than ignoring the unique nullable property of the index.
|
void |
testImportDataExportQuery() |
void |
testImportDataExportQueryWithFewColumns() |
void |
testImportExportInvalideDelimiters() |
void |
testImportTableExportTable()
Test import/export of a table, using
SYSCS_EXPORT_TABLE and SYSCS_IMPORT_TABLE procedures.
|
void |
testImportWitgInvalidHexStrings() |
private void |
verifyData(java.lang.String cols) |
doExportQuery, doExportQueryLobsToExtFile, doExportTable, doExportTableLobsToExtFile, doImportData, doImportDataLobsFromExtFile, doImportTable, doImportTableLobsFromExtFileassertCallError, 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, 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 ImportExportBinaryDataTest(java.lang.String name)
public static junit.framework.Test suite()
protected void setUp()
throws java.sql.SQLException
setUp in class junit.framework.TestCasejava.sql.SQLExceptionprotected void tearDown()
throws java.lang.Exception
tearDown in class BaseJDBCTestCasejava.lang.Exceptionpublic void testImportTableExportTable()
throws java.sql.SQLException,
java.io.IOException
java.sql.SQLExceptionjava.io.IOExceptionpublic void testDerby4677BulkInsertIntoEmptyTable()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testDerby4677BulkInsertWithReplace()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testImportDataExportQuery()
throws java.sql.SQLException,
java.io.IOException
java.sql.SQLExceptionjava.io.IOExceptionpublic void testImportDataExportQueryWithFewColumns()
throws java.sql.SQLException,
java.io.IOException
java.sql.SQLExceptionjava.io.IOExceptionpublic void testImportExportInvalideDelimiters()
throws java.sql.SQLException,
java.io.IOException
java.sql.SQLExceptionjava.io.IOExceptionpublic void testImportWitgInvalidHexStrings()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testDerby2925ExportTable()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testDerby2925ExportQuery()
throws java.sql.SQLException
java.sql.SQLExceptionprivate void verifyData(java.lang.String cols)
throws java.sql.SQLException,
java.io.IOException
java.sql.SQLExceptionjava.io.IOExceptionprivate static void loadData(java.sql.Statement s)
throws java.sql.SQLException
java.sql.SQLExceptionApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.