Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dataSource:
- pooled: true
- url: jdbc:mysql://127.0.0.1:3306/triz?useUnicode=yes&characterEncoding=UTF-8
- driverClassName: "com.mysql.jdbc.Driver"
- jmxExport: true
- username: root
- password: password
- dialect: org.hibernate.dialect.MySQL5InnoDBDialect
- properties:
- jmxEnabled: true
- initialSize: 5
- maxActive: 50
- minIdle: 5
- maxIdle: 25
- maxWait: 10000
- maxAge: 600000
- timeBetweenEvictionRunsMillis: 5000
- minEvictableIdleTimeMillis: 60000
- validationQuery: SELECT 1
- validationQueryTimeout: 3
- validationInterval: 15000
- testOnBorrow: true
- testWhileIdle: true
- testOnReturn: false
- jdbcInterceptors: ConnectionState
- defaultTransactionIsolation: 2
- environments:
- development:
- dataSource:
- dbCreate: create
- # url: jdbc:h2:mem:devDb;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE
- test:
- dataSource:
- dbCreate: update
- url: jdbc:h2:mem:testDb;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE
- staging:
- dataSource:
- url: jdbc:mysql://127.0.0.1:3306/triz_staging?useUnicode=yes&characterEncoding=UTF-8
- buildscript {
- ext {
- grailsVersion = project.grailsVersion
- }
- repositories {
- mavenCentral()
- mavenLocal()
- maven { url "https://repo.grails.org/grails/core" }
- }
- dependencies {
- classpath "org.grails:grails-gradle-plugin:$grailsVersion"
- classpath 'com.bertramlabs.plugins:asset-pipeline-gradle:2.5.0'
- // classpath 'com.bertramlabs.plugins:less-asset-pipeline:2.6.7'
- classpath "org.grails.plugins:hibernate:4.3.10.5"
- classpath 'org.grails.plugins:database-migration:2.0.0.RC4'
- }
- }
- ...
- ...
- dependencies {
- ...
- compile 'org.liquibase:liquibase-core:3.3.2'
- runtime 'org.grails.plugins:database-migration:2.0.0.RC4'
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement