Hi Romain,
I am still trying to understand if the BeanContext#getLockType() should
return a variable and not a constant?
If a method has no lock annotation then as far as I can follow the default
is to call BeanContext#getLockType(), so the default is always
LockType.WRITE - Shouldn't this be defined / override-able by a class
annotation?
@javax.ejb.Lock(javax.ejb.LockType.READ)
public class CoreImpl extends AbstractCore implements Core {
...
//This should be READ, but it is WRITE?
public String getUnitName() {
Andy
--
View this message in context:
http://openejb.979440.n4.nabble.com/BeanContext-getLockType-is-always-LockType-WRITE-tp4655669p4655672.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.