0 Replies Latest reply on Oct 19, 2004 11:48 PM by Stephen Coy

    Beware of Instance Per Tx and read-only methods

    Stephen Coy Novice

      If you use this particular combination, your performance will suffer dramatically.

      If you have methods marked read-only, the instance cache used for the duration of the transaction seems to be flushed whenever the read-only method is invoked.

      The culprit for this can be found in org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke().