#配置文件中的配置项都不要加“”,不然无法获取
spring.application.name=tlias-management08
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/数据库
spring.datasource.username=root
spring.datasource.password=
#将数据库中的下划线改为属性值的驼峰
mybatis.configuration.map-underscore-to-camel-case=true
#打印mysql日志到控制台
mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
#用来查找resources下的xml文件
mybatis.mapper-locations=classpath:/mapper/*.xml
03-29
3084
05-24
05-24
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交