# mybatis-genarator **Repository Path**: junjun888/mybatis-genarator ## Basic Information - **Project Name**: mybatis-genarator - **Description**: 基于mybatis - genarator 的简单项目,用于快速生成 xml , dao - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2019-09-19 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [TOC] # 1 缘起 > 因为不想写 xml,和 entity , 网上别人写的 mybatis-genarator 例子不能拿来就用,本着拿来主义,于是就有了这个项目 # 2 使用介绍 ## 1 配置 mybatisGeneratorinit.properties ``` jdbc_driver =com.mysql.jdbc.Driver jdbc_url=jdbc:mysql://localhost:23306/xxx jdbc_user=xxx jdbc_password=xxx ``` ## 2 生成代码 ![genarator.png](https://i.loli.net/2019/09/19/9SnTYK54as2qcAr.png) # 3 更多 - mybatis-genarator 官网 http://mybatis.org/generator/quickstart.html