This content has been marked as final.
Show 1 reply
-
1. Re: Question on read only method configuration and wildcards
rcostanzo Aug 4, 2003 9:07 AM (in response to jbossuser)I've had issues trying to override wilcards in the descriptors for the method tags in both jboss.xml for and ejb-jar.xml (for specificying transaction levels).
What I know will work is if you do:
<method-attributes>
<method-name>getCMRCollection</method-name>
<read-only>false</read-only>
<method-name>getSomethingElse</method-name>
<read-only>true</read-only>
</method-attributes>
Which is a bit of a pain because you then need to do one stanza per method. But give it a try with the wildcard and overriding it and if it doesn't work you'll get the "can't modify a read-only collection" exception.