server:
# 配置端口号
port: 8888
# 配置应用路径
servlet:
context-path: /crm
spring:
# 数据源
datasource:
username: system
password: abc123
url: jdbc:oracle:thin:@localhost:1521:orcl
driver-class-name: oracle.jdbc.driver.OracleDriver
# JPA
jpa:
hibernate:
# 无表建表,有表更新
ddl-auto: update
properties:
hibernate:
# 显示SQL语句
show_sql: true
# 格式化SQL语句
format_sql: true
# 设置数据库方言
database-platform:
org.hibernate.dialect.OracleDialect