I created JBAS-4433 to track this and noted that active transactions are
recommended when accessing entity beans. JBAS-4433 is about ignoring the
row-lock flag if there is no active transaction.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047412#404741
In theory that sounds ok. But we do not recommend accessing entity beans w/o a
transaction in our implementation. Some code relies on an active transaction.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047226#4047226
Reply to the post :
http://www.jboss.co
Just to give more information about the use case. The target ejb2 cmp bean
method is performing a read-only batch operation on many rows in the database
(get application user group membership list).
This method is marked with "@ejb.transaction type=NotSupported" and the bean
has row-locking=tr