Score
0
Watch 25 Star 100 Fork 19

吴志展 / free-mybatis-pluginJavaApache-2.0

Join us
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
free-idea-mybatis是一款增强idea对mybatis支持的插件 spread retract

https://plugins.jetbrains.com/plugin/8321

Clone or download
Loading...
README_EN.md

中文 | ENGLISH

Description

A idea plugin for mybatis . free-mybatis-plugin is an enchange plugin for idea to supoort mybatis,here is the main functions:

  • generate mapper xml files
  • navigate from the code to mapper and from the mapper back to code
  • auto code and error tips

How To Use

  • generate mapper files
    • alter+enter
  • generate statement
    • alter+enter
  • from dao to mapper(can also use ctrl+B)
  • from mapper to dao(can also use ctrl+b)

mybatis generator gui usage

  • database configuration
  • elect one or more tables,right click and select mybatis generator to open generatoe main UI.
  • mybatis generator configuration
  • notice:If your database is mysql8,please add '?serverTimezone=GMT' and select mysql8 option

Reference

TODO

  • generate bean accourding to database field
  • generate CURD code

Comments ( 10 )

Sign in for post a comment

Java
1
https://gitee.com/wuzhizhan/free-mybatis-plugin.git
git@gitee.com:wuzhizhan/free-mybatis-plugin.git
wuzhizhan
free-mybatis-plugin
free-mybatis-plugin
dev

Help Search

205735 778617b6 1899542 205747 347fc4a1 1899542