Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ejbCreate() in Entity Bean

 
Allen Bandela
Ranch Hand
Posts: 128
Eclipse IDE MS IE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From within a CMP entity bean's ejbCreate() method, how come I can use the EJBContext's getRollBackOnly() and setRollBackOnly()? I was thinking the container would start a transaction after an entity has been created in the database. Or should this method be treated as another business method?
[ February 12, 2007: Message edited by: Allen Sylvester ]
 
Sumit Malik
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Allen i hope this link would help you up.

Cheers !!!
Sumit Malik
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!