All Projects → kmaster → Better Mybatis Generator

kmaster / Better Mybatis Generator

在idea的数据库工具中,直接对表生成mybatis相关的代码文件。

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Better Mybatis Generator

Nord Jetbrains
An arctic, north-bluish clean and elegant JetBrains IDE UI and editor color theme.
Stars: ✭ 293 (+33.79%)
Mutual labels:  idea, plugin
IDEAPractice
Java练习 - Java基础知识,面试题,小demo,长期积累 | intellij idea + maven + tomcat
Stars: ✭ 45 (-79.45%)
Mutual labels:  idea, mybatis-generator
Multihighlight
Jetbrains IDE plugin: highlight identifiers with custom colors 🖌💡
Stars: ✭ 65 (-70.32%)
Mutual labels:  idea, plugin
Envfile
EnvFile 3.0 is a plugin for JetBrains IDEs that allows you to set environment variables for your run configurations from one or multiple files.
Stars: ✭ 293 (+33.79%)
Mutual labels:  idea, plugin
Androidlocalizeplugin
🌏 Android localization plugin. support multiple languages, no need to apply for key.
Stars: ✭ 352 (+60.73%)
Mutual labels:  idea, plugin
Mybatis Generator Plugin
Mybatis Generator 代码生成插件拓展,增加:查询单条数据插件(SelectOneByExamplePlugin)、MySQL分页插件(LimitPlugin)、数据Model链式构建插件(ModelBuilderPlugin)、Example Criteria 增强插件(ExampleEnhancedPlugin)、Example 目标包修改插件(ExampleTargetPlugin)、批量插入插件(BatchInsertPlugin)、逻辑删除插件(LogicalDeletePlugin)、数据Model属性对应Column获取插件(ModelColumnPlugin)、存在即更新(UpsertPlugin)、Selective选择插入更新增强插件(SelectiveEnhancedPlugin)、Table增加前缀插件(TableSuffixPlugin)、自定义注释插件(CommentPlugin)、增量插件(IncrementsPlugin)、查询结果选择性返回插件(SelectSelectivePlugin)、乐观锁插件(OptimisticLockerPlugin)、LombokPlugin等拓展。
Stars: ✭ 1,038 (+373.97%)
Mutual labels:  plugin, mybatis-generator
Restfultoolkit
A Toolkit for RESTful services development.
Stars: ✭ 101 (-53.88%)
Mutual labels:  idea, plugin
Indoc
Indented document literals for Rust
Stars: ✭ 209 (-4.57%)
Mutual labels:  plugin
Mosquitto Go Auth
Auth plugin for mosquitto.
Stars: ✭ 212 (-3.2%)
Mutual labels:  plugin
Artist
An artist creates views. Artist is a Gradle plugin that codegens a base set of Android Views.
Stars: ✭ 208 (-5.02%)
Mutual labels:  plugin
Argusapm
Powerful, comprehensive (Android) application performance management platform. 360线上移动性能检测平台
Stars: ✭ 2,452 (+1019.63%)
Mutual labels:  plugin
Postgraphile Plugin Connection Filter
Advanced filtering of Connections in PostGraphile
Stars: ✭ 210 (-4.11%)
Mutual labels:  plugin
Qgis Latlontools Plugin
QGIS tools to capture and zoom to coordinates using decimal, DMS, WKT, GeoJSON, MGRS, UTM, and Plus Codes notation. Provides external map support, MGRS & Plus Codes conversion and point digitizing tools.
Stars: ✭ 213 (-2.74%)
Mutual labels:  plugin
Qtfirebase
An effort to bring Google's Firebase C++ API to Qt + QML
Stars: ✭ 208 (-5.02%)
Mutual labels:  plugin
Fastlogin
Checks if a minecraft player has a valid paid account. If so, they can skip offline authentication automatically. (premium auto login)
Stars: ✭ 216 (-1.37%)
Mutual labels:  plugin
Mapbox Gl Geocoder
Geocoder control for mapbox-gl-js using Mapbox Geocoding API
Stars: ✭ 207 (-5.48%)
Mutual labels:  plugin
Webpackmonitor
A tool for monitoring webpack optimization metrics through the development process
Stars: ✭ 2,432 (+1010.5%)
Mutual labels:  plugin
Resharper Fsharp
F# support in JetBrains Rider
Stars: ✭ 216 (-1.37%)
Mutual labels:  plugin
Exchangis
Exchangis is a lightweight,highly extensible data exchange platform that supports data transmission between structured and unstructured heterogeneous data sources
Stars: ✭ 212 (-3.2%)
Mutual labels:  plugin
Sublimetext Markdown Preview
markdown preview and build plugin for sublime text 2/3
Stars: ✭ 2,337 (+967.12%)
Mutual labels:  plugin

better-mybatis-generator idea plugin

插件功能:在idea的database工具中使用,选择表(一或n,建议n小于10),生成mybatis相关的代码,(包括:dao、example、domain、xml)。
Use in idea database tool,right click table(one or more) to generate mybatis files (include:dao、example、domain、xml).

Plugin Installation:

  • 在idea插件系统里安装 | Using IDE built-in plugin system on Windows:
    • File > Settings > Plugins > Browse repositories... > Search for "better-mybatis-generator" > Install Plugin
  • 手动zip安装 | Manually:
    • Download the latest release and install it manually using Preferences > Plugins > Install plugin from disk...

Using sample screenshots:

#1、设置自定义默认配置,若不设置,则使用程序默认配置。 | Set custom default configuration,If not, use the program default configuration.
image

#2、配置数据库 | Connecting to Your Database.
image
image
image

#3、在需要生成代码的表上右键,选择mybatis generate,打开预览界面。 | Select one or more tables,right click and select mybatis generate to open generatoe main UI.
image

#4、设置确认完成后,点击ok,开始生产代码。 | Check configuration in main ui,click ok.
image

#5、首次使用此插件,需要为插件提供数据库账号密码。 | Provide account and password for the first time.
image

#6、检查生成的代码文件 | Generate work finish,Check your files.
image

如何在本地运行/调试此插件 | How to run/debug plugin :

#1、创建工程 File -> New -> Project from Version Control -> Git 填写github地址:https://github.com/kmaster/better-mybatis-generator.git
image
#2、修改sdk image
#3、运行配置无误则直接run/debug。若因idea版本导致提供的配置不对,请考虑本地创建空的插件工程然后参考其配置。
image
此时打上断点就可以一步步调试,修改代码后点击 Build->prepare plugin modle "xxx" For Deployment生成插件安装包再本地安装使用, 如果想优化此插件代码,比如其他数据库或运行环境,可以修改后在github上发起pull request。能点个star就更好了,哈哈。

注意事项 | notice:

#1、当数据库用mysql8,在URL上定义时区,推荐使用'?serverTimezone=GMT',配置中勾选上mysql8选项。 | If your database is mysql8,please add '?serverTimezone=GMT' and select mysql8 option
image
image

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].