|[CDO] CDOTransaction or CDOXATransaction participating in XA transaction [message #1030667]
||Sun, 31 March 2013 14:52
| Pavel Vlasov
Registered: March 2013
I'm wondering what is the best/recommended way to enlist CDO repository into a JTA transaction? I guess that CDO shall provide an XAResource which can be enlisted in a JTA transaction, but I couldn't find anything like that in the API.
One option is to wrap CDOTransaction or CDOXATransaction into XAResource, but in this case it is not clear what is the best way to handle prepare and rollback after that. I guess with the current API's it'd require recording changes, committing CDO transaction in prepare and playing back changes in the case of rollback.
Thank you, Pavel.
Powered by FUDForum
. Page generated in 0.10128 seconds