Ignore:
Timestamp:
Apr 28, 2011, 2:31:56 PM (14 years ago)
Author:
gav
Message:

Upgrade branches/util-apps/DomainUtil to Grails-1.3.7.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/util-apps/DomainUtil/grails-app/conf/DataSource.groovy

    r766 r907  
    11dataSource {
    2         pooled = true
    3         driverClassName = "org.hsqldb.jdbcDriver"
    4         username = "sa"
    5         password = ""
     2    pooled = true
     3    driverClassName = "org.hsqldb.jdbcDriver"
     4    username = "sa"
     5    password = ""
    66}
    77hibernate {
    8     cache.use_second_level_cache=true
    9     cache.use_query_cache=true
    10     cache.provider_class='net.sf.ehcache.hibernate.EhCacheProvider'
     8    cache.use_second_level_cache = true
     9    cache.use_query_cache = true
     10    cache.provider_class = 'net.sf.ehcache.hibernate.EhCacheProvider'
    1111}
    1212// environment specific settings
    1313environments {
    14         development {
    15                 dataSource {
    16                         dbCreate = "create-drop" // one of 'create', 'create-drop','update'
    17                         url = "jdbc:hsqldb:mem:devDB"
    18                 }
    19         }
    20         test {
    21                 dataSource {
    22                         dbCreate = "update"
    23                         url = "jdbc:hsqldb:mem:testDb"
    24                 }
    25         }
    26         production {
    27                 dataSource {
    28                         dbCreate = "update"
    29                         url = "jdbc:hsqldb:file:prodDb;shutdown=true"
    30                 }
    31         }
     14    development {
     15        dataSource {
     16            dbCreate = "create-drop" // one of 'create', 'create-drop','update'
     17            url = "jdbc:hsqldb:mem:devDB"
     18        }
     19    }
     20    test {
     21        dataSource {
     22            dbCreate = "update"
     23            url = "jdbc:hsqldb:mem:testDb"
     24        }
     25    }
     26    production {
     27        dataSource {
     28            dbCreate = "update"
     29            url = "jdbc:hsqldb:file:prodDb;shutdown=true"
     30        }
     31    }
    3232}
Note: See TracChangeset for help on using the changeset viewer.