hibernate.properties 893 Bytes
Newer Older
1
#Hibernate specific properties
2
javax.persistence.sharedCache.mode=ENABLE_SELECTIVE
3 4
hibernate.connection.charSet=utf8
hibernate.connection.autocommit=false
5
hibernate.jdbc.fetch_size=25
6
hibernate.jdbc.batch_size=20
7 8
hibernate.order_updates=true
hibernate.order_inserts=true
9
hibernate.jdbc.batch_versioned_data=true
10

11 12 13
# Postgres
hibernate.jdbc.use_streams_for_binary=false

14 15 16
hibernate.cache.use_second_level_cache=true
hibernate.cache.use_query_cache=false
hibernate.cache.use_minimal_puts=true
17
hibernate.cache.region_prefix=hibernate
18 19 20 21 22
#MEM:hibernate.cache.region.factory_class=org.hibernate.testing.cache.CachingRegionFactory
#hibernate.cache.region.factory_class=com.hazelcast.hibernate.HazelcastCacheRegionFactory
hibernate.cache.region.factory_class=org.genesys2.spring.hazelcast.HazelcastCacheRegionFactoryWrapper
hibernate.cache.use_structured_entries=false
hibernate.generate_statistics=false