generatorConfig.xml配置文件:<?xml version="1.0" encoding="UTF-8"?> PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
插件:
org.mybatis.generator mybatis-generator-maven-plugin 1.3.2 mysql mysql-connector-java 5.1.37 src/main/resources/generatorConfig.xml true