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 Transaction-Scoped/Extended-Scoped behaviour:

 
Sandeep Vaid
Ranch Hand
Posts: 392
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Mikalai Zaikin Notes says
"If an entity manager with transaction-scoped persistence context is in use, the resulting
entities will be DETACHED; if an entity manager with an extended persistence context is used,
they will be MANAGED."

Is it a typo "is in use'? Does it wants to says when transaction ends, with transaction-scoped persistence context - the resulting
entities will be DETACHED While if an entity manager with an extended persistence context is used, they will be MANAGED..
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic