Re: [JBoss-dev] new read-only method locks

2002-04-10 Thread Luke Taylor
David Jencks wrote: > A couple of months ago I committed a jboss.xml read-only entity bean tag > that prevented ejbStore ever being called on a such-marked bean. This new > work makes it so locks on the bean only last as long as the method call > into the bean (as I understand it) > Ah, OK. Than

Re: [JBoss-dev] new read-only method locks

2002-04-10 Thread David Jencks
A couple of months ago I committed a jboss.xml read-only entity bean tag that prevented ejbStore ever being called on a such-marked bean. This new work makes it so locks on the bean only last as long as the method call into the bean (as I understand it) david jencks On 2002.04.10 15:04:33 -0400

Re: [JBoss-dev] new read-only method locks

2002-04-10 Thread Luke Taylor
Bill Burke wrote: > I've just committed and tested Peter Murray's patch for read-only method > locks. Great work Peter! > Sounds great. Does that mean that ejbStore won't be automatically called after calling read-only methods in a transaction? Or do you still need to use the "isModified" fla

[JBoss-dev] new read-only method locks

2002-04-09 Thread Bill Burke
I've just committed and tested Peter Murray's patch for read-only method locks. Great work Peter! Here's the deal. Transactional locks will now be released at the end of the invocation if the bean is readonly or the method has been declared read-only in bean meta data. Basically if you go into