Skip to content

rockjava/intellij-mybatis-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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
  • Mapper parameter auto completion in xml while editting sql
    • #{yourParameter}
    • @Param annotation based
    • Association is supported

#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"