Bug 4283 - TransactionManagerSPI is missing enlist (for enlisting checkpoint resources)
TransactionManagerSPI is missing enlist (for enlisting checkpoint resources)
Product: jbatch
Classification: Unclassified
Component: source
PC Windows
: P5 normal
: ---
Assigned To: cvignola
Depends on:
  Show dependency treegraph
Reported: 2012-11-09 21:40 UTC by ScottKurz
Modified: 2013-01-16 15:28 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description ScottKurz 2012-11-09 21:40:06 UTC
I think it should have something like:


which it would call after the begin().
Comment 1 cvignola 2012-11-17 20:30:10 UTC
I'm going to go down swinging on this one, Scott :)   The SPI does not need enlist.  Resource enlistment is the responsibility of the environment.  In EE,  the connection management takes care of it.  In an SE environment, the user-provided XA tran manager takes care of it - e.g. JOTM datasource factories. If the SE environment lacks an XA tran manager,  then of course enlistment is moot. I do not believe there is a scenario in which the batch runtime needs to enlist its checkpoint resource with a transaction manager.
Comment 2 cvignola 2013-01-16 15:28:15 UTC
the SPI has been dropped from the spec