Spring2.5-->datasource configer

hibernate.cache.provider_class=org.hibernate.cache.EhCacheProvider
hibernate.cache.provider_configuration_file_resource_path=/ehcache-hibernate.xml
hibernate.cache.use_query_cache=false
hibernate.cache.use_second_level_cache=false
hibernate.format_sql=true
hibernate.show_sql=true
hibernate.use_sql_comments=true

hibernate.dialect=org.hibernate.dialect.Oracle9iDialect
hibernate.connection.username=test
hibernate.connection.password=teest
hibernate.connection.url=jdbc:oracle:thin:@10.127.0.1:1521:tt
hibernate.connection.driver_class=com.p6spy.engine.spy.P6SpyDriver


jdbc.driverClassName=com.p6spy.engine.spy.P6SpyDriver
jdbc.password=test1
jdbc.schema=test
jdbc.url=jdbc\:oracle\:thin\:@10.127.0.1\:1521\:test
jdbc.username=test2

你可能感兴趣的:(oracle,sql,Hibernate,jdbc,cache)