Hi. I'm using a many to one relationship between BeanA and BeanB. I've defined a <cmr-field> "beanB" in the <ejb-relationship-role> element for BeanA in the <ejb-relation>. This works without any problems. I can access BeanB with code like:
BeanB beanB = beanA.getBeanB(); Everything is fine. But when we have many parallel requests accessing the same beanA instance (the same row in the database table) we got a lot of contentions (EntityLockMonitor in the jmx-console). I guess that somehow the access using the relationship locks BeanA? Allthough all my get-Methods are already read-only. The problem/lock occures in the code-line above, i think. Any ideas? What is the cause of the contention and is there a work around? Thanks a lot. Regards, Jens -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user