-
1. Re: Deadlock on read?
juha Oct 6, 2002 6:11 PM (in response to seven)see the docu on read-only entities and CMP fields
-
2. Re: Deadlock on read?
seven Oct 7, 2002 4:23 AM (in response to seven)Unfortunately, the EB (entity beans) I was talking about don't have only read methody, they have update methods also, so I can't apply "read-only" attibutes on the entire bean.
I need to know If I can make only some of the methods of a EB not to wait until posibily other TXs that are locking the EB have finished.
And If u know a solution, It would be appeciated any examle.
Thanks again. -
3. Re: Deadlock on read?
juha Oct 7, 2002 5:43 AM (in response to seven)yes you can, see Dain's CMP docu
-
4. Re: Deadlock on read?
seven Oct 8, 2002 5:59 AM (in response to seven)I tested in jboss-3.0.3 and the <read-only> tag at method level has no effect. This tag is not even in the jboss_3_0.dtd file. It seems that it's in jboss_3_1.dtd of jboss 3.2beta
See http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=forums/ -
5. Re: Deadlock on read?
minamoto Oct 9, 2002 12:03 AM (in response to seven)Did you try to set a transaction attribute other than required to your read-only method?
How about supports or nerver as a work around.
Miki