I am using Jboss3.0
I having problem with invoking:

ABean and BBean - BMP.

class  ABean ...{
        ...
        public void methodA(){
                ...
                BLocal b = ...;
                b.methodB(entityContext.getLocalReference());
                ...     
        }
        ....
        // in local interface
        public long getN(){
                return n;
        }
        ....
}

class  BBean ...{
        ...
        // in local interface
        public void methodB(ALocal a){
                ...
                a.getN(); //here - pessimistic locking, and later rollback
after timeout
                ...
        }
        ...
}


All methods in beans - whith transaction attribute "Required".

Is possible to avoid locking when invoking methodA.
 

Best Regards,
Viktor Shevchik.
mailto:[EMAIL PROTECTED]
 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
  • ... Шевчик Виктор Александрович
    • ... Dmitri Colebatch

Reply via email to