first commit

This commit is contained in:
zyh
2025-07-18 17:58:07 +08:00
commit 9c6c3e091f
41 changed files with 1901 additions and 0 deletions

View 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