public class TestPutSQL
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static org.junit.rules.TemporaryFolder |
folder |
protected static DBCPService |
service
Setting up Connection pooling is expensive operation.
|
| Constructor and Description |
|---|
TestPutSQL() |
public static org.junit.rules.TemporaryFolder folder
protected static DBCPService service
public static void setupClass()
throws ProcessException,
java.sql.SQLException
ProcessExceptionjava.sql.SQLExceptionpublic void testDirectStatements()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionpublic void testInsertWithGeneratedKeys()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionpublic void testFailInMiddleWithBadStatement()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionpublic void testFailInMiddleWithBadStatementRollbackOnFailure()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionpublic void testFailInMiddleWithBadParameterType()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionpublic void testFailInMiddleWithBadParameterTypeRollbackOnFailure()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionpublic void testFailInMiddleWithBadParameterValue()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionpublic void testFailInMiddleWithBadParameterValueRollbackOnFailure()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionpublic void testUsingSqlDataTypesWithNegativeValues()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionpublic void testUsingTimestampValuesEpochAndString()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException,
java.text.ParseException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionjava.text.ParseExceptionpublic void testUsingTimestampValuesWithFormatAttribute()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException,
java.text.ParseException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionjava.text.ParseExceptionpublic void testUsingDateTimeValuesWithFormatAttribute()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException,
java.text.ParseException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionjava.text.ParseExceptionpublic void testBitType()
throws java.sql.SQLException,
InitializationException
java.sql.SQLExceptionInitializationExceptionpublic void testUsingTimeValuesEpochAndString()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException,
java.text.ParseException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionjava.text.ParseExceptionpublic void testUsingDateValuesEpochAndString()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException,
java.text.ParseException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionjava.text.ParseExceptionpublic void testBinaryColumnTypes()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException,
java.text.ParseException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionjava.text.ParseExceptionpublic void testStatementsWithPreparedParameters()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionpublic void testMultipleStatementsWithinFlowFile()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionpublic void testMultipleStatementsWithinFlowFileRollbackOnFailure()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionpublic void testWithNullParameter()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionpublic void testInvalidStatement()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionpublic void testInvalidStatementRollbackOnFailure()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionpublic void testRetryableFailure()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionpublic void testRetryableFailureRollbackOnFailure()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionpublic void testMultipleFlowFilesSuccessfulInTransaction()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionpublic void testMultipleFlowFilesSuccessfulInTransactionRollBackOnFailure()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionpublic void testTransactionTimeout()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionpublic void testTransactionTimeoutRollbackOnFailure()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOExceptionpublic void testNullFragmentCountRollbackOnFailure()
throws InitializationException,
ProcessException,
java.sql.SQLException,
java.io.IOException
InitializationExceptionProcessExceptionjava.sql.SQLExceptionjava.io.IOException