Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting ' Transaction is not active: tx=TransactionImple' error...?  RSS feed

 
dumani jayasinghe
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am getting the following error when calling to a TransactionAttributeType.REQUIRED DB Access method in the bean class from my MDB.
Can anyone help me immediately?



 
pulkit mehra
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My Friend

Use XA transaction for dealing with more than one resource in JTA
or
Make a seperate PU of type RESOURCE_LOCAL of Entities with whom you are dealing via MDB and use BMT with EM transactions.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!