This content has been marked as final.
Show 1 reply
-
1. Re: Best practice / pattern for CMR lookups?
erik777 Nov 27, 2002 3:12 AM (in response to transient)In jbosscmp-jdbc.xml, you can specify an entity tag
<read-only/>
which will make the EJB read-only. This should increase performance as it will not call ejbStore(), and should invoke an error if you attempt to call create().
This is mentioned on page 80 of the JBoss.3.0QuickStart.Draft3.pdg. It also delves deaper in JBossCMP.pdf, describing how to make individual attributes read-only (page 18).