[Good things recommended] Crazy Amway Free Mybatis Plugin plug-in this IDEA plug-in

1. Background

Among them, the overall architecture of mybatis is to write the mapper interface, and the framework scans its corresponding mapper.xml file. Since a large number of SQL statements are written in the xml, it needs to be debugged in normal debugging, but the xml file cannot be like a java file. Jumping quickly brings great inconvenience to finding the corresponding xml file.

2. Introduction to Free Mybatis Plugin

Based on the powerful plug-in system of IDEA, netizens have written a free plug-in called Free Mybatis Plugin. It should be noted that this plug-in only sets up the framework for you, but there is no content. You need to write resultMap, BaseColumnList, Sql statements, etc.

(1) Quickly generate the mapper.xml file and press ALT+ENTER (Enter).
(2) Generate the SQL statement label in the mapper, and press ALT+ENTER (Enter).
(3) Automatically prompts to add, delete, modify and check four tags, just press ALT+ENTER (Enter).
(4) The mapper interface quickly jumps to the corresponding xml file

Guess you like

Origin blog.csdn.net/wstever/article/details/129216286