基于maven的mybatis/ibatis的代码生成器
src/resources/generatorConfig.xml : 修改配置 jdbcConnection, jdbc-url, user/password
mvn compile exec:java
新增特性:
1. 移除mybatis-generator-maven-plugin依赖
2. 生成的代码使用中文注释
3. **context.targetRuntime=IbatisJava5 && javaClientGenerator.type=SPRING** 场景下,新增2个可选propery: **superClass, annotation** 用于自定义 DAOImpl的父类和注解