mybatis plus show sql
时间: 2023-10-02 20:10:34 浏览: 86
18-MyBatis-Plus_mybatis-plus_
Sure, you can enable MyBatis Plus to show SQL statements by adding the following configuration in your application.properties file:
mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
This will print out all SQL statements to the console for debugging purposes.
阅读全文