Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Global transaction error  RSS feed

kris boodtheti
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
Boost this thread!