This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

remove and ejbStore  RSS feed

 
William Silva
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,
If the client simply call remove method on the
EJBObject to remove the entity data in database by its primary key,why
ejbStore is neccesary?
I'm using JBoss and BMP.
Thanks,
William.
 
Janne Karhu
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where have you found that info? In the general case, I think that the container does not have to call ejbStore() before ejbRemove()..
 
William Silva
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Janne,
I found in the log file the following lines when removing a bean:
setEntityContext Ok !
ejbActivate Ok !
ejbLoad OK ! Updating relationships, for example
ejbStore ??? Why Store
ejbRemove Ok ! Removing the entity
My comments are in the right side.
William.
 
Sudhir V
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read this post!!!
http://www.coderanch.com/t/158574/java-EJB-SCBCD/certification/Additional-methods-which-might-called
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!