Git Product home page Git Product logo

free-idea-mybatis's Introduction

该项目已迁移到:

https://gitee.com/wuzhizhan/free-idea-mybatis

中文 | ENGLISH

Description

A idea plugin for mybatis . free-idea-mybatis是一款增强idea对mybatis支持的插件,主要功能如下:

  • 生成mapper xml文件
  • 快速从代码跳转到mapper及从mapper返回代码
  • mybatis自动补全及语法错误提示

使用方法

free-idea-mybatis是一个提高mybatis编码的插件。实现了dao代码跳转到mapper,mapper跳转回dao,mapper文件、statement查询自动生成功能。

灵活使用alt+enter和ctrl+B实现提示和跳转

  • 生成mapper文件
    • alter+enter弹出
  • 生成statement语句
    • alter+enter弹出
  • dao跳转到mapper(也可以ctrl+B跳入)
  • mapper跳转回dao(也可以ctrl+b跳入)



mybatis generator gui使用方法

  • 配置数据库
  • 在需要生成代码的表上右键,选择mybatis generator,打开预览界面。
  • 配置生成参数
  • 注意:当数据库用mysql8,在URL上定义时区,推荐使用'?serverTimezone=GMT',配置中勾选上mysql8选项。

TODO

  • 根据数据库字段生产bean
  • 快捷生成CURD操作

参考代码

我的微信公众号 - it新技术

更多内容,欢迎关注公众号 【it新技术】

free-idea-mybatis's People

Contributors

ijliym avatar ivyxjc avatar lppedd avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.