Package net.officefloor.jdbc.test
Class AbstractJdbcTestCase.InsertSection
java.lang.Object
net.officefloor.jdbc.test.AbstractJdbcTestCase.InsertSection
- Enclosing class:
- AbstractJdbcTestCase
Test fixture section for inserting rows.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrun(AtomicInteger id, Connection connection, AbstractJdbcTestCase.Flows flows) Runs the insert.voidthread(AtomicInteger id, Connection connection, AbstractJdbcTestCase.NewThread thread) Handles the thread flow for insert.
-
Constructor Details
-
InsertSection
public InsertSection()
-
-
Method Details
-
run
public void run(@Parameter AtomicInteger id, Connection connection, AbstractJdbcTestCase.Flows flows) throws SQLException Runs the insert.- Parameters:
id-AtomicIntegeridentifier.connection-Connection.flows-AbstractJdbcTestCase.Flows.- Throws:
SQLException- On database failure.
-
thread
public void thread(@Parameter AtomicInteger id, Connection connection, AbstractJdbcTestCase.NewThread thread) throws SQLException Handles the thread flow for insert.- Parameters:
id-AtomicIntegeridentifier.connection-Connection.thread-AbstractJdbcTestCase.NewThreadmarker.- Throws:
SQLException- On database failure.
-