kundera icon indicating copy to clipboard operation
kundera copied to clipboard

JTA not supported

Open rmannibucau opened this issue 8 years ago • 5 comments

When using kundera in container mode (see PersistenceProvider) and JTA mode as required by EE spec, you need to enforce kundera JTA transaction implementation which is not an option in an EE server, kundera should be able to register with the running transaction synchronization registry to participate in the JTA transaction instead.

rmannibucau avatar Feb 11 '17 11:02 rmannibucau

+1 from me. I guess it's the same issue reported at #651 .

cristof avatar Jul 02 '17 19:07 cristof

Not sure it is fully the same (blocker vs spec issue) but outcome would likely fix both yes.

rmannibucau avatar Jul 02 '17 19:07 rmannibucau

You're right about the differences. Would the fix suggested in https://github.com/impetus-opensource/Kundera/issues/651#issuecomment-63784324 attend the specification? I think Kundera should make transparent to user the internal usage of the running transaction without a previous configuration.

cristof avatar Jul 02 '17 20:07 cristof

Not only. You still need to integrate with the transaction synchonization to be able to rollback with jta otherwise you passthrough but not support jta

rmannibucau avatar Jul 02 '17 21:07 rmannibucau

Sure. As I said in #651 , it's a critical feature for CMT transactions. Last time I had a look on source of kundera, the rollback part kept me from proposing a patch. Thanks, @rmannibucau. Hope kundera guys can help out with the issue. It would be great for their project.

cristof avatar Jul 02 '17 23:07 cristof