All Downloads are FREE. Search and download functionalities are using the official Maven repository.

test.hibernate.hibernate.properties Maven / Gradle / Ivy

The newest version!
hibernate.show_sql=true
hibernate.format_sql=true
hibernate.jdbc.fetch_size=50
hibernate.jdbc.batch_size=30

## use a custom ConnectionProvider (if not set, Hibernate will choose a built-in ConnectionProvider using hueristics)
#hibernate.connection.provider_class=org.hibernate.connection.DriverManagerConnectionProvider
#hibernate.connection.provider_class=org.hibernate.connection.DatasourceConnectionProvider
hibernate.connection.provider_class=org.hibernate.connection.C3P0ConnectionProvider
#hibernate.connection.provider_class=org.hibernate.connection.ProxoolConnectionProvider

## the Transaction API abstracts application code from the underlying JTA or JDBC transactions

#hibernate.transaction.factory_class=org.hibernate.transaction.JTATransactionFactory
#hibernate.transaction.factory_class=org.hibernate.transaction.JDBCTransactionFactory

##########################
### Second-level Cache ###
##########################

## optimize chache for minimal "puts" instead of minimal "gets" (good for clustered cache)
hibernate.cache.use_minimal_puts=false
## set a prefix for cache region names
hibernate.cache.region_prefix=megaminx
## set the second-level cache
hibernate.cache.use_second_level_cache=false
## enable the query cache
hibernate.cache.use_query_cache=false
## choose a cache implementation
hibernate.cache.provider_class=org.hibernate.cache.EhCacheProvider
#hibernate.cache.provider_class=org.hibernate.cache.EmptyCacheProvider
#hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider
#hibernate.cache.provider_class=org.hibernate.cache.TreeCacheProvider
#hibernate.cache.provider_class=org.hibernate.cache.OSCacheProvider
#hibernate.cache.provider_class=org.hibernate.cache.SwarmCacheProvider




© 2015 - 2025 Weber Informatics LLC | Privacy Policy