File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EntityManager.getTransaction

 
Fu Dong Jia
Ranch Hand
Posts: 131
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In J2se environment,if the same EntityTransaction instance returned every time when invoke EntityManager.getTransaction()?
[ December 12, 2008: Message edited by: Fu Dong Jia ]
 
Fu Dong Jia
Ranch Hand
Posts: 131
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that's a valuable question.
Can anyone explain it?
 
Amandeep Singh
Ranch Hand
Posts: 850
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
whereever this method is called, means inside the Buisness method or at other place, it will always return the current transaction.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic