0 Replies Latest reply on Nov 25, 2002 10:26 AM by Jurrien

    Commit option B and read-only methods

    Jurrien Newbie

      I'm using Jboss3.0.3 with mysql on Win2000.

      When I use commit option B without read only beans the ejbLoad method is called at the beginning of each transaction as expected.
      But when I use beans with read-only methods the ejbLoad method is not called at the beginning of each tx when read-only methods are called.
      I need commit option B because I have other programs modifying the DB. The read-only flag is there to get rid of tx-locks.
      Is there a way where I can achieve both goals?
      Option D with a small interval would probably do the trick but I need an ejbLoad at the start of each TX.