Project

General

Profile

« Previous | Next » 

Revision 48883

Cache changes

View differences:

hibernate.cfg.xml
9 9
    <session-factory>
10 10
        <property name="hibernate.hbm2ddl.auto">update</property>
11 11
		<property name="hibernate.dialect">org.hibernate.dialect.PostgreSQL9Dialect</property>
12
        <property name="show_sql">true</property>
12
        <property name="show_sql">false</property>
13 13
       	<property name="connection.pool_size">1</property>
14
		<!--<property name="org.hibernate.cache">true</property>-->
15 14
     	<property name="format_sql">true</property>
16 15
		<!-- enable second level cache and query cache -->
17
		<!--<property name="hibernate.cache.region.factory_class">org.hibernate.cache.ehcache.EhCacheRegionFactory</property>-->
18
		<!--<property name="hibernate.cache.use_second_level_cache">true</property>-->
19
		<!--<property name="hibernate.cache.use_query_cache">true</property>-->
20
		<!--<property name="net.sf.ehcache.configurationResourceName">ehcache.xml</property>-->
16
	<!--	<property name="hibernate.cache.use_second_level_cache">true</property>
17
		<property name="hibernate.cache.region.factory_class">org.hibernate.cache.jcache.JCacheRegionFactory</property>
18
		<property name="hibernate.javax.cache.provider">org.ehcache.jsr107.EhcacheCachingProvider</property>
19
		<property name="hibernate.cache.use_query_cache">true</property>-->
21 20

  
21

  
22 22
       	<mapping class = "eu.dnetlib.goldoa.domain.User"/>
23 23
		<mapping class = "eu.dnetlib.goldoa.domain.Role"/>
24 24
		<mapping class = "eu.dnetlib.goldoa.domain.UserRole"/>

Also available in: Unified diff