Author: maschmid
Date: 2012-04-06 10:46:26 -0400 (Fri, 06 Apr 2012)
New Revision: 14533
Modified:
branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/main/resources/META-INF/persistence.xml
Log:
enable hibernate caches in the blog example
Modified:
branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/main/resources/META-INF/persistence.xml
===================================================================
---
branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/main/resources/META-INF/persistence.xml 2012-04-06
13:42:30 UTC (rev 14532)
+++
branches/community/Seam_2_3/examples-ee6/blog/blog-ejb/src/main/resources/META-INF/persistence.xml 2012-04-06
14:46:26 UTC (rev 14533)
@@ -10,8 +10,8 @@
<property name="hibernate.hbm2ddl.auto"
value="create-drop"/>
<property name="hibernate.show_sql" value="true"/>
- <!--<property name="hibernate.cache.use_second_level_cache"
value="true"/>-->
- <!--<property name="hibernate.cache.use_query_cache"
value="true"/>-->
+ <property name="hibernate.cache.use_second_level_cache"
value="true"/>
+ <property name="hibernate.cache.use_query_cache"
value="true"/>
<property name="jboss.entity.manager.factory.jndi.name"
value="java:/blogEntityManagerFactory"/>
<!--<property name="hibernate.jdbc.charSet"
value="utf-8"/>-->
Show replies by date