first commit
This commit is contained in:
30
target/classes/application.yml
Normal file
30
target/classes/application.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
spring:
|
||||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:mysql://localhost:3306/chat?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
|
||||
username: root
|
||||
password: password
|
||||
|
||||
# JPA configuration (optional, if you need JPA alongside MyBatis-Flex)
|
||||
jpa:
|
||||
show-sql: true
|
||||
hibernate:
|
||||
ddl-auto: update
|
||||
|
||||
# MyBatis-Flex configuration
|
||||
mybatis-flex:
|
||||
# Enable SQL logging
|
||||
configuration:
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
# Mapper XML location (optional)
|
||||
mapper-locations: classpath*:mapper/*.xml
|
||||
|
||||
# Server configuration
|
||||
server:
|
||||
port: 8080
|
||||
|
||||
# Logging configuration
|
||||
logging:
|
||||
level:
|
||||
com.yundage.chat: debug
|
||||
com.mybatisflex: debug
|
||||
Reference in New Issue
Block a user