lyzw / mybatis-generator-lambok

修改mybatis-generator,结合lambok,简化代码,修改Model类的注释

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MyBatis Generator (MBG)

Build Status Coverage Status Dependency Status Maven central License

mybatis-generator

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

本项目是对mybatis-generator的针对lambok的修改版,修改内容包括如下:

  1. 增加对lambok的支持
  2. 修改Model类的注释,使用数据库的注释作为Model属性的注释 修改后generatorConfig.xml需要做如下对应的修改

About

修改mybatis-generator,结合lambok,简化代码,修改Model类的注释


Languages

Language:Java 93.1%Language:HTML 6.6%Language:Shell 0.2%Language:Batchfile 0.1%Language:CSS 0.1%