Skip to content

ondrejkralik/intellij-mybatis-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ad - UI设计

http://www.imumi.cn

联系时请注明Mybatis插件

Ad - 强势推荐

翻墙利器: http://honx.in/i/VJ6-U86vD0s1XqbE

Supported By

Thanks to the support of JetBrains

#Download

Features

  • Useful navigation between xml and mapper
  • Support generating of statement, @Param annotation and mapper of xml
  • Support some useful rename of mapper in xml
  • Support correct result type for select statement in mapper xml
  • Support correct unresolved attribute value of mapper xml
  • Support refactor the name of mapper xml file when rename the mapper interface
  • Support refactor for id based tag in mapper xml
  • Support find usage of mapper interface and mapper xml element
  • Highlight conflicting element of mapper xml as errors
  • Auto register mapper as spring bean
  • Support completion of jdbc type in mapper xml
  • Support completion of referencing to select statement in mapper xml
  • Support switching between java type and alias in mapper xml using intention keystroke
  • Auto inject sql language in mapper xml
  • Mapper parameter auto completion in xml while editing sql
    • #{yourParameter}
    • @Param annotation based
    • Association is supported
  • Support generating properties for elements of result map using intention keystroke
    • DataSource of intellij is required

#Generate

  • Place your caret on your target
    • Declaration of mapper interface、method or parameter
  • Shortcut: Option + Enter(Mac) | Alt + Enter(Windows)
  • To generate statement quickly, you can provide some method generating models with "Idea Setting" -> "Mybatis"

Packages

No packages published

Languages

  • Java 100.0%