Database usage and configuration process in IDEA

download plugin 

​edit

Click Database on the right

test connection

manual


download plugin 

Click Database on the right

 

Enter User, Password 

 

test connection

 Enter the database TestConnection you want to connect to in Database to test the connection

 

 When the database information appears, the connection is successful. 

manual

 Right-click the table and click mybatis-Generator

 change name and

1. The package in model setting is the path of pojo

2.dao setting is the path of the dao layer

3.xml is the path of sql

(For personal reasons I only need one and I deleted all others) 

 

At this point the process is complete

Guess you like

Origin blog.csdn.net/qq_55629923/article/details/129931013