This content has been marked as final.
Show 1 reply
-
1. Re: read-only and row-locking
dhartford Apr 21, 2004 11:10 AM (in response to mkyaj)I'm having a similar issue - I'm reading getValueObject and get*fields and the row-locking 'version' vield is still incrementing (i.e. ejbStore() is still being called).
xdoclet-wise:
*@ejb.bean use-soft-locking = "true"
* @jboss.method-attributes
* pattern="get*"
* read-only=true
*
* @jboss.method-attributes
* pattern="find*"
* read-only=true
*
* @jboss.method-attributes
* pattern="ejbSelect*"
* read-only=true
Anyone some ideas? The only thing I can think of is the Transactions need to be explicitly set to something?
-D