0 Replies Latest reply on Mar 29, 2005 6:54 PM by Erez Efrati

    CMR-field getXXX and deadlocks

    Erez Efrati Newbie

      I am using JBoss 3.2.6 and I have a deadlock problems even after setting read-only flag on methods that match the pattern: "get*" and "is*".

      I read the following about Resin:

      By default, Resin knows that findXXX, ejbSelectXXX, and cmp-field and cmr-field getXXX methods are read transactions. It assumes that all other business methods are update transactions.

      I have read here in the forums that cmr-field getXXX take TX locks. Is that true? if so, how can I avoid it?