Convenient abstract implementation of the TopLinkCallback interface,
exposing a UnitOfWork to perform write operations on.
The exposed UnitOfWork will either be be the active UnitOfWork of
the current transaction, if any, or a temporarily acquired UnitOfWork
that will be committed at the end of the operation.
doInTopLink(oracle.toplink.sessions.Session session)
Determines the UnitOfWork to work on (either the active UnitOfWork or a
temporarily acquired UnitOfWork) and delegates to doInUnitOfWork.
doInUnitOfWork(oracle.toplink.sessions.UnitOfWork unitOfWork)
Called with a UnitOfWork to work on, either the active UnitOfWork or a
temporarily acquired UnitOfWork (as determined by the transaction status).