• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in Transactions

 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HFEJB says that in Entity beans we can use CMT only.
My doubt is if i am writing Entity bean using bean managed persistence.Then i can use only BMT.In such case how can i use CMT?
 
Celinio Fernandes
Ranch Hand
Posts: 549
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Entity EJBs with BMP :
Must use container managed transactions; the persistent instance variables are reloaded by the container after a rollback, and the developer does not (and can not) programatically restore any instance variables. The developer need only specify the appropriate transaction attributes in the deloyment descriptor.

Also, you will find more info here
[ June 18, 2007: Message edited by: Celinio Fernandes ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic