Changeset 81 for branches


Ignore:
Timestamp:
Mar 23, 2009, 1:32:54 PM (11 years ago)
Author:
gav
Message:

Change datasource to use in memory for production war.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/TaskRewrite/src/grails-app/conf/DataSource.groovy

    r55 r81  
    1010    cache.provider_class='com.opensymphony.oscache.hibernate.OSCacheProvider'
    1111}
    12 // environment specific settings
     12
     13//environment specific settings
     14//create-drop:  drop tables and data between sessions, then insert from Bootstrap.
     15//create:       drop data between sessions, can't explain the rest.
     16//update:       keep data, update tables as required, keeps inserting from BootStrap.
    1317environments {
    1418        development {
     
    2630        production {
    2731                dataSource {
    28                         dbCreate = "update"
    29                         url = "jdbc:hsqldb:file:prodDb;shutdown=true"
     32                        //Delete dbCreate line after setup!
     33            dbCreate = "create-drop"
     34                        //url = "jdbc:hsqldb:file:prodDb;shutdown=true"
     35            url = "jdbc:hsqldb:mem:devDB"
    3036                }
    3137        }
Note: See TracChangeset for help on using the changeset viewer.