| java.lang.Object org.apache.derbyTesting.functionTests.tests.jdbcapi.batchUpdate
batchUpdate | public class batchUpdate (Code) | | |
Method Summary | |
static boolean | callableStatementBatchUpdate(Connection conn, Statement stmt) | static boolean | checkAssociatedParams(Connection conn, Statement stmt) | static boolean | cleanUp(Connection conn, Statement s) Clean up after ourselves when testing is done. | public static void | dumpSQLExceptions(SQLException se) | public static void | main(String[] args) | static boolean | preparedStatementBatchUpdateNegative(Connection conn, Statement stmt, Connection conn2, Statement stmt2) Negative tests for prepared statement batch update. | static boolean | preparedStatementBatchUpdatePositive(Connection conn, Statement stmt) Positive tests for prepared statement batch update. | static boolean | run1000StatementsBatch(Connection conn, Statement stmt) | static boolean | run1000ValueSetPreparedBatch(Connection conn, Statement stmt) | static boolean | runAutoCommitTrueBatch(Connection conn, Statement stmt) | static boolean | runAutoCommitTruePreparedStatBatch(Connection conn, Statement stmt) | static boolean | runCallableStatementBatch(Connection conn) | static boolean | runCallableStatementWithOutputParamBatch(Connection conn) | static boolean | runCombinationsOfClearBatch(Connection conn, Statement stmt) | static boolean | runCombinationsOfClearPreparedStatBatch(Connection conn, Statement stmt) | static boolean | runEmptyStatementBatch(Connection conn, Statement stmt) | static boolean | runEmptyValueSetPreparedBatch(Connection conn, Statement stmt) | static boolean | runMultipleStatementsBatch(Connection conn, Statement stmt) | static boolean | runMultipleValueSetNullPreparedBatch(Connection conn, Statement stmt) | static boolean | runMultipleValueSetPreparedBatch(Connection conn, Statement stmt) | static boolean | runNoParametersPreparedBatch(Connection conn, Statement stmt) | static boolean | runPreparedStatRollbackAndCommitCombinations(Connection conn, Statement stmt) | static boolean | runPreparedStmtNonBatchStuffInBatch(Connection conn, Statement stmt) | static boolean | runPreparedStmtWithErrorsBatch(Connection conn, Statement stmt) | static boolean | runPreparedStmtWithResultSetBatch(Connection conn, Statement stmt) | static boolean | runRollbackAndCommitCombinations(Connection conn, Statement stmt) | static boolean | runSingleStatementBatch(Connection conn, Statement stmt) | static boolean | runSingleValueSetPreparedBatch(Connection conn, Statement stmt) | static boolean | runStatementNonBatchStuffInBatch(Connection conn, Statement stmt) | static boolean | runStatementWithErrorsBatch(Connection conn, Statement stmt) | static boolean | runStatementWithResultSetBatch(Connection conn, Statement stmt) | public static boolean | runTests(Connection conn, Connection conn2) | static boolean | runTransactionErrorBatch(Connection conn, Statement stmt, Connection conn2, Statement stmt2) | static boolean | runTransactionErrorPreparedStmtBatch(Connection conn, Statement stmt, Connection conn2, Statement stmt2) | static boolean | setUpTest(Connection conn, Statement stmt) Set up the test. | static boolean | statementBatchUpdateNegative(Connection conn, Statement stmt, Connection conn2, Statement stmt2) Negative tests for statement batch update. | static boolean | statementBatchUpdatePositive(Connection conn, Statement stmt) Positive tests for statement batch update. |
cleanUp | static boolean cleanUp(Connection conn, Statement s)(Code) | | Clean up after ourselves when testing is done.
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 |
preparedStatementBatchUpdateNegative | static boolean preparedStatementBatchUpdateNegative(Connection conn, Statement stmt, Connection conn2, Statement stmt2) throws SQLException(Code) | | Negative tests for prepared statement batch update.
Parameters: conn - The connection to use. Whether or not we were successful. exception: SQLException - Thrown if some unexpected error happens |
preparedStatementBatchUpdatePositive | static boolean preparedStatementBatchUpdatePositive(Connection conn, Statement stmt) throws SQLException(Code) | | Positive tests for prepared statement batch update.
Parameters: conn - The connection to use. Whether or not we were successful. exception: SQLException - Thrown if some unexpected error happens |
setUpTest | static boolean setUpTest(Connection conn, Statement stmt) throws SQLException(Code) | | Set up the test.
This method creates the table used by the rest of the test.
Parameters: conn - The Connection true if it succeeds, false if it doesn't exception: SQLException - Thrown if some unexpected error happens |
statementBatchUpdateNegative | static boolean statementBatchUpdateNegative(Connection conn, Statement stmt, Connection conn2, Statement stmt2) throws SQLException(Code) | | Negative tests for statement batch update.
Parameters: conn - The connection to use. Whether or not we were successful. exception: SQLException - Thrown if some unexpected error happens |
statementBatchUpdatePositive | static boolean statementBatchUpdatePositive(Connection conn, Statement stmt) throws SQLException(Code) | | Positive tests for statement batch update.
Parameters: conn - The connection to use. Whether or not we were successful. exception: SQLException - Thrown if some unexpected error happens |
|
|