• Post Reply Bookmark Topic Watch Topic
  • New Topic

Global transaction error

 
kris boodtheti
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ranchers!!!Iam krishnanghri

Can anyone help me why this global transaction error will occur..
error--"Global transaction is not supported for the commit/roll back statement"..
This error is very much different....
Can any one explain me why this occur and in what circumstances..
Iam using container managed persistence...
While using container managed persistence if i had a problem like this i have made my commit into autocommit(false).then it is working fine..and rollback i have commented not to use..

Please help me is it advisable to do that in all circumstances!!!
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!