The read-only is applied to the specific bean/method as defined in the DDs. No inheritance rules.

Pete Beck wrote:

On Tue, 2003-11-25 at 11:26, Kevin Conner wrote:


We stuck with the pessimistic locking and enabled read-only methods. The CMP engine grabs the lock for the duration of the method but releases it afterwards.

Kev

BTW We are on a modified version of 3.0.2 but I think it still holds.


Yep, we've walked that same path too.
Unfortunately there are few long running transactions which need write
access and these seem to screw things up.

By the way, does anyone know how wildcarded "read-only" methods (e.g.
get*)  apply when the method has been inherited from another class?

In other words if I have getSomething() in class A, and then create
class B which inherits from class A.

Will a get* rule in class B also apply to the getSomething() method
inherited from class A?



------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to