Configuration
Last updated
Was this helpful?
Last updated
Was this helpful?
Example code is available on .
Because Grails is based on Spring, we can use library to integrate into Grails.
Add and dependencies into BuildConfig.groovy
.
Define new beans in resources.groovy
.
sqlSessionFactory
configures connection factory using XML files at the specified location
mapperScannerConfigurer
will scan for mappers based on what is defined by basePackage
property