private class BatchTest.ConcurrentBatchingHelper
extends java.lang.Thread
testConcurrentBatching()
to execute a batch within a transaction that is
then rolled back. Starting a couple of these threads concurrently should show whether there are any race
conditions WRT preparation and execution in the batching implementation.Modifier and Type | Field and Description |
---|---|
private java.sql.Connection |
con
Connection on which to do the work.
|
private java.util.Vector |
exceptions
Container to store any exceptions into.
|
Constructor and Description |
---|
BatchTest.ConcurrentBatchingHelper(java.sql.Connection con,
java.util.Vector exceptions) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
private java.sql.Connection con
private java.util.Vector exceptions
Generated on June 8 2013