is a test annotation that is used to indicate that a
should be committed
the test method has completed.
Consult the class-level Javadoc for
for an explanation of test-managed transactions.
When declared as a class-level annotation,
the default commit semantics for all test methods within the test class
hierarchy. When declared as a method-level annotation,
defines commit semantics for the specific test method, potentially
overriding class-level default commit or rollback semantics.
@Commit can be used as direct
@Rollback(false); however, it should
not be declared alongside
@Rollback on the same test method or on the
same test class is unsupported and may lead to unpredictable results.