1 Introduction - Reference Documentation
Authors: Franjo Žilić
Version: 0.0.3
Table of Contents
1 Introduction
The MyBatis plugin enables Grails integration with MyBatis ORM framework. Work on this plugin has been inspired by original iBatis plugin written by brian.j.sanders.While writing this plugin basic working principles have been kept, but most of the code had been rewritten. Migration from original plugin to this one is still not documented and supported, although it should be possible and not complicated.Changes from original plugin
- Upgrade to Grails 2.0.3
- Grails 1.x is not supported, and some features require Grails 2.0.3 or higher
- Removal of deprecated Grails references
- Package name changes
- Upgrade to MyBatis 3.1.1 library
Features
- Dynamic mapping of MyBatis queries to methods
- Multiple datasource support
- Optimistic locking support
- Multivendor database support
1.1 Change Log
Updates in version 0.0.3
- Fixed several issues reported on GitHub
- GH-8 XML files not in WAR
- plugin was did not copy MyBatis XML mapper files to WAR
- GH-7 load error occur - http://apache.org/xml/features/disallow-doctype-decl" set to true
- XmlSlurper configuration for Java 7 and 8
- Minor code cleanup
- Support for Grails version from 2.0.3 up to 2.3.11 (tested), other 2.x versions should work