MyBatis execution of SQL output to the console

src\main\resources\application.properties

或者src\main\resources\application.yml

Application.properties added to your profile or application.yml

logging.level.com.hotel3.mapper=debug

Which com.hotel3.mapper = debug is: Your Mapper package = logs

 

Console output is as follows:

 

Guess you like

Origin www.cnblogs.com/mww-NOTCOPY/p/10990492.html