• Post Reply Bookmark Topic Watch Topic
  • New Topic

transaction-type in persistence.xml  RSS feed

 
Rahul Ba
Ranch Hand
Posts: 212
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have a question about <transaction-type> attribute of the persistence.xml.

The <transaction-type> attribute of the persistence.xml file specifies whether the type of the entity manager used in the persistence unit is JTA or resource-local.

but, when to prefer JTA or resource-local?
Please explain me in Detail...Thanks in advance.
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
but, when to prefer JTA or resource-local?

Rahul,

There was a similar question which was answered here.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!