I am a bit confused. In
src\etc\junit\hibernate.cfg.xml
you have the following settings
Code:
<property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
<property name="cache.use_query_cache">false</property>
<property name="cache.use_minimal_puts">false</property>
<property name="max_fetch_depth">3</property>
Your comment there says
Code:
<!-- Use EHCache but not the query cache. -->
Now, in \src\etc\webapp.test\conf\hibernate.cfg.xml, you have the same settings, except the comment there says
Code:
<!-- Disable second-level cache, effectively -->
Well, which one would it actually accomplish, i.e. would EHCache still be used?
Also, what's the rationale for not using
Code:
<property name="hibernate.cache.use_second_level_cache">false</property>
Wouldn't that produce the intended result?