• 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!!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic