Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- grails.config.locations = ["classpath:mytool-config.properties"]
- dataSource.username = "sa"
- dataSource.password = "db!admin"
- dataSource.url = "jdbc:h2:file:E:\MyTool\db\MyTool;MVCC=TRUE;LOCK_TIMEOUT=10000"
- dataSource {
- jmxExport = true
- driverClassName = "org.h2.Driver"
- pooled = true
- }
- hibernate {
- cache.use_second_level_cache = true
- cache.region.factory_class = 'org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory' // Hibernate 4
- singleSession = true // configure OSIV singleSession mode
- flush.mode = 'manual' // OSIV session flush mode outside of transactional context
- }
- // environment specific settings
- environments {
- development {
- dataSource {
- dbCreate = "update"
- logSql = false
- }
- hibernate.cache.use_query_cache = false
- }
- production {
- dataSource {
- dbCreate = "update"
- logSql = false
- }
- hibernate.cache.use_query_cache = true
- }
- }
- 2016-02-09 11:59:35,797 [localhost-startStop-1] ERROR pool.ConnectionPool - Unable to create initial connections of pool.
- java.sql.SQLException: Driver:org.h2.Driver@3871b7bc returned null for URL:"jdbc:h2:file:E:/M3ReleaseTool/db/M3ReleaseTool;MVCC=TRUE;LOCK_TIMEOUT=10000"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement