• Post Reply Bookmark Topic Watch Topic
  • New Topic

ejbLoad question  RSS feed

 
Gaurav Chikara
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We all know that ejbLoad loads data from from database
then how can we retrive this data from client
because
from client we can only use finder methods to get the results of a query
 
Hari babu
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
You cant call the EJBLoad method explicitly, it will be called by the container, it depends on the container implementation , but what you can do whenever the EJBLoad is called, you can write an implementation which refreshes the entity data (in case of BMP), so your finder methods will be able to get the latest data.
Hari
 
Rohit Ahuja
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hari,
i ahve a doubt in mind now, we sometimes use the isModified = true.what is that for??
Love,
Prince Of Pune,
Deepak.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!