Code generator for MyBatis and iBATIS.
It will generate code for all versions of MyBatis, and versions of iBATIS after version 2.2.0. It will introspect a database table (or many tables) and will generate artifacts that can be used to access the table(s). This lessens the initial nuisance of setting up objects and configuration files to interact with database tables. MBG seeks to make a major impact on the large percentage of database operations that are simple CRUD (Create, Retrieve, Update, Delete).
本项目是对mybatis-generator的针对lambok的修改版,修改内容包括如下:
- 增加对lambok的支持
- 修改Model类的注释,使用数据库的注释作为Model属性的注释 修改后generatorConfig.xml需要做如下对应的修改