Hello,

Im using Appfuse 2.0.2 and I trying to configure second level cache, I found article written by matt that leads me to this link http://www.devx.com/dbzone/Article/29685/0/page/2 .. In this example it activated
the second level caching through hibernate.cfg.xml adding this code

|<property name="hibernate.cache.provider_class">
                        org.hibernate.cache.EHCacheProvider
</property>

My question is do i still need to do this? i found in applicationContext-dao.xml

<property name="hibernateProperties">
           <value>
               hibernate.dialect=${hibernate.dialect}
               hibernate.query.substitutions=true 'Y', false 'N'
               hibernate.cache.use_second_level_cache=true
               
hibernate.cache.provider_class=org.hibernate.cache.EhCacheProvider
           </value>
           <!-- Turn batching off for better error messages under PostgreSQL -->
           <!-- hibernate.jdbc.batch_size=0 -->
 </property>

I assumed that this activate my second-level of caching. Anyone could help 
clarify it?

Thanks in advance. :)
|



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to