title: How to get grails datasource createdb property in bootstrap
body: <p>I'd like to make my Bootstrap dependant on the createdb property in the grails DataSource.groovy file. When the setting is 'create', new Master Data should be generated, if the setting is 'update', none.</p>
  
  <p>I've found <a href="http://grails.org/doc/latest/api/org/codehaus/groovy/grails/commons/GrailsDataSource.html" rel="nofollow noreferrer">GrailsDataSource in the Grails API</a> which also has a method getCreateDb, but I don't know how to access it from the Bootstrap for the respective Bootstrap environment.</p>