MyBatis Mybatis configuration log performs insert operation

The first step is to complete the insert operation, the first step is to write an insert method in the interface

 The second step is to write a SQL statement for insert operation in the configuration file

3. Modify steps 6, 7, and 8 in the class that executes the command

mybatis configuration log

Main results after setting up the log

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Guess you like

Origin blog.csdn.net/qq_35677589/article/details/112710953