# 服务名
spring.application.name=springBootProgram
# 端口号
server.port=8081
# mysql数据库
spring.datasource.url=jdbc:mysql://localhost:3306/database?useUnicode=true&useSSL=false&characterEncoding=utf8
spring.datasource.username=用户名
spring.datasource.password=密码
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
# oracle数据库
spring.datasource.url=jdbc:oracle:thin:@localhost:1521/orcl
spring.datasource.username=用户名
spring.datasource.password=密码
spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver
# 日志级别
logging.level.com.adccxa.aimstokafka.mapper=debug
# Mybatis
#配置Mapper映射文件
mybatis-plus.mapper-locations=classpath:/mapper/*Mapper.xml
# 配置MyBatis数据返回类型别名(默认别名是类名)
mybatis-plus.type-aliases-package=com.adccxa.aimstokafka.pojo
|