############################## mybatis配置 ######################################
mybatis.configuration.call-setters-on-nulls=true

#entity扫描的包名
mybatis.type-aliases-package=mydemo.entity

#Mapper. 所在的位置
mybatis.mapper-locations=classpath*:com/mydemo/mapper/*/*Mapper.
mapper.mappers=mydemo.common.dao. Mapper

#在控制台输出sql返回数据。
mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl

#控制台打印字段
logging.level.mydemo.mapper=TRACE

收藏 打印