Hi!
Where can I find documentation about jboss.method-attributes?
Regarding the information which I have found, all the methods which have the method-attribute: read-only="true" won't issue the ejbStore(), and methods calling these methods won't be blocked on Transactions if the Entity Bean is in use by another Transaction. Am I right?
I have added the XDoclet tags below to some of my entity beans. In each Transaction I call only once their getValueObject()....
* @jboss.method-attributes
* pattern="get*"
* read-only="true"
Thank you in advance,
Victor Batista
That is true. The Entity Bean wont be enlisted in a transaction, if the read only method is called,but the entity bean will be locked for the duration of the method call. You need to specify a time-out also