grails - Datasource avanced properties -


i wondering valid datasource configuration:

development {         properties {             maxactive = 50             maxidle = 25             minidle = 5             initialsize = 8             minevictableidletimemillis = 1000 * 15 * 60             timebetweenevictionrunsmillis = 1000 * 15 * 60             maxwait = 10000             validationquery = "/* ping */"         }         datasource {             username = "test"             password = "test"             dbcreate = "update" // 1 of 'create', 'create-drop', 'update', 'validate', ''             url = "jdbc:mysql://params"         }      } 

if have this, datasource use properties listed above?

if want centralize properties, can define datasource without enviornment first:

datasource {   properties {   } }  development {   datasource {   } } 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -