0 Replies Latest reply on Mar 14, 2003 7:42 AM by Chris

    EJBStore in Transactions

    Chris Newbie


      I have some audit fields (dateLastAmended and userLastAmended) on every bean. In my ejbStore method, I update these fields. However, what I experience is that at the end of a transaction, JBOSS (3.04), calls ejbStore, even if the bean has not been changed ie. all beans that have been accessed during the transaction have their ejbStore methods called, whereas I would think only those that have changed should be updated.

      Is this behaviour correct, and if so, does anyone have any thoughts/ideas on how I can update the audit fields of only those beans that have changed?