source: trunk/grails-app/conf/DataSource.groovy @ 1361

Last change on this file since 1361 was 1361, checked in by work@…, 10 years ago
  • properties were not loaded in a war, trying a different location
  • #219
  • Property svn:keywords set to Author Date Rev
File size: 552 bytes
RevLine 
[1360]1/**
2 * Default datasource configuration
3 *
4 * See environment specific configuration!
5 *
6 * @author Jeroen Wesbeek
7 * @since 20110110
8 *
9 * Revision information:
10 * $Rev: 1361 $
11 * $Author: work@osx.eu $
12 * $Date: 2011-01-11 14:33:27 +0000 (di, 11 jan 2011) $
13 */
[4]14dataSource {
15        pooled = true
16        driverClassName = "org.hsqldb.jdbcDriver"
[1360]17        dbCreate = "create-drop" // one of 'create', 'create-drop','update'
18        url = "jdbc:hsqldb:mem:devDB"
[1361]19        username = "sasa"
[4]20        password = ""
21}
22hibernate {
[93]23        cache.use_second_level_cache = true
24        cache.use_query_cache = true
25        cache.provider_class = 'net.sf.ehcache.hibernate.EhCacheProvider'
[4]26}
Note: See TracBrowser for help on using the repository browser.