1 Reply Latest reply on Jul 28, 2003 4:14 PM by Aaron

    JBoss locking

    govindadasa Newbie

      Is JBoss optimistic or pessimistic for locking by default?

        • 1. Re: JBoss locking
          Aaron Newbie

          I think youll find by default that JBoss is set to use Pessimistic locking for a Standard CMP 2.x EntityBean.

          These settings are in jboss-standard.xml inside the container configuration, under locking policy.

          <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock</locking-policy>

          hope that helps
          --Aaron