在控制台上打印sql语句
mybatis:
mybatis:
# spring boot集成mybatis的方式打印sql
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
在log日志中打印
logging:
level:
com.eth.wallet.mapper: debug
在控制台上打印sql语句
mybatis:
mybatis:
# spring boot集成mybatis的方式打印sql
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
在log日志中打印
logging:
level:
com.eth.wallet.mapper: debug