public interface UnitOfWork
DSLContext
.
The scope of a unit of work (begin/end) corresponds to the scope of the Jooq
DSLContext
. The scope is also contained to a single thread. Be sure to always call
end() in a finally block to avoid leaking contexts across threads.
Modifier and Type | Method and Description |
---|---|
void |
begin()
Begins a unit of work.
|
void |
end()
Ends the unit of work.
|
boolean |
isActive()
Returns true if the unit of work is active; false otherwise.
|
Copyright © 2018 Cerner Innovation, Inc.. All rights reserved.