Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

Latest commit

 

History

History
36 lines (22 loc) · 1.12 KB

Readme_idea_plugin.md

File metadata and controls

36 lines (22 loc) · 1.12 KB

IntelliJ IDEA Plugin (DELETED)

Introduction

This plugin helps you to generate mybatis files, include entity classes, dao classes and mapper xml file.

After installed, you can press ALT + Double Click quickly go to mapper xml file from dao interface file.

Please add mybatis-helper.jar package to your module before using this plugin

Install plugin

Search "mybatis helper" and install it, after idea restarted, the plugin tool window shows.

Command buttons

  1. Config: Configure database options
  2. Load: Load all database tables
  3. Generate: Generate mybatis files dialog

toolwindow

Configure database options

configure-database-options

Generate mybatis files

configure-packages

  1. Identity Column: Which column is identity of this database table
  2. Project: Current project
  3. Module: Select module
  4. Entity Package: Which package to generate entity class
  5. Dao Package: Which package to generate dao class
  6. Mapper Directory: Which directory to generate mapper xml file