An Entity Bean gets locked (enlisted in a transaction) only when business
methods are invoked(set,get and other business methods) . When finder methods
are invoked entity beans are not locked. If you mark the read- only methods
read-only, the entity bean gets locked only for the duration of the method call
not for the whole transaction.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862330#3862330
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862330
---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user