-
1. Re: Default caching strategy for CMP
vanitas Jul 3, 2003 5:55 PM (in response to kgodbole)Hi,
on-load and on-find is connected with finders not caching.
As for caching, you should set 'commit-option'. There are four commit options available: A, B, C, D. Please refer to jboss_3_2.dtd in your jboss/docs/dtd for details about them.
greg -
2. Re: Default caching strategy for CMP
juhalindfors Jul 4, 2003 10:50 AM (in response to kgodbole)IIRC on-load is the default, can't remember the page size though
-
3. Re: Default caching strategy for CMP
kgodbole Jul 6, 2003 4:38 PM (in response to kgodbole)Hi all
Thank you all for your responses. I have found the default settings. They are given in a file $JBOSS_HOME/server/default/conf/standardjbosscmp-jdbc.xml
The default read-ahead settings are as follows:
<read-ahead>
on-load
<page-size>1000</page-size>
<eager-load-group>*</eager-load-group>
</read-ahead>
Also the default commit options for various container configurations are given in a file called $JBOSS_HOME/server/default/conf/standardjboss.xml
The commit settings for "Standard CMP 2.x EntityBean" configuration are :
<commit-option>B</commit-option>
Hope this helps someone. :-)
--Ked