Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

remove and ejbStore

 
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.
 
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.
 
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read this post!!!
https://coderanch.com/t/158574/java-EJB-SCBCD/certification/Additional-methods-which-might-called
 
Look ma! I'm selling my stuff!
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic