• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to force the container to call ejbStore()  RSS feed

maha laxmi
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ictx = new InitialContext();
home = (EmployeeEntityHome)ictx.lookup("EmployeeEntityBean");
remote = (EmployeeEntity)home.findByPrimaryKey(new Long(EmployeeMaster.EmployeeReferenceNo));

in the entity bean it will call setEmployeeMaster method where i will set dirtyflag = true;now presently what happened is after all methods are executing only (before transaction is commit..) container is calling ejbStore();

when i setEmployeeMaster i want to force the Container to call ejbStore();Is there any options in JBoss4?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!