Package net.officefloor.jpa.test
Class AbstractJpaTestCase.StressSelectSection
java.lang.Object
net.officefloor.jpa.test.AbstractJpaTestCase.StressSelectSection
- Enclosing class:
- AbstractJpaTestCase
Test fixture section for stress select.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceFlow interface. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrun(AbstractJpaTestCase.SelectInput input, AbstractJpaTestCase.StressSelectSection.Flows flows, jakarta.persistence.EntityManager entityManager) Runs the stress select.voidthread(jakarta.persistence.EntityManager entityManager, AbstractJpaTestCase.SelectParameter parameter, AbstractJpaTestCase.NewThread tag) Handles the thread flow for stress select.
-
Constructor Details
-
StressSelectSection
public StressSelectSection()
-
-
Method Details
-
run
public void run(@Parameter AbstractJpaTestCase.SelectInput input, AbstractJpaTestCase.StressSelectSection.Flows flows, jakarta.persistence.EntityManager entityManager) throws SQLException Runs the stress select.- Parameters:
input-AbstractJpaTestCase.SelectInput.flows-AbstractJpaTestCase.StressSelectSection.Flows.entityManager-EntityManager.- Throws:
SQLException- On database failure.
-
thread
public void thread(jakarta.persistence.EntityManager entityManager, @Parameter AbstractJpaTestCase.SelectParameter parameter, AbstractJpaTestCase.NewThread tag) throws SQLException Handles the thread flow for stress select.- Parameters:
entityManager-EntityManager.parameter-AbstractJpaTestCase.SelectParameter.tag-AbstractJpaTestCase.NewThreadmarker.- Throws:
SQLException- On database failure.
-