|
|
@ -8,66 +8,26 @@ spring:
|
|
|
|
sql:
|
|
|
|
sql:
|
|
|
|
init:
|
|
|
|
init:
|
|
|
|
mode: always
|
|
|
|
mode: always
|
|
|
|
platform: h2 #postgres
|
|
|
|
platform: oracle
|
|
|
|
#schema-locations: classpath:/data/h2/schema.sql
|
|
|
|
#schema-locations: classpath:/data/h2/schema.sql
|
|
|
|
#data-locations:
|
|
|
|
#data-locations:
|
|
|
|
# - classpath:/data/h2/TRAFFIC_MIN_USERINFO.sql
|
|
|
|
# - classpath:/data/h2/TRAFFIC_MIN_USERINFO.sql
|
|
|
|
# - classpath:/data/h2/TRAFFIC_MIN_SIMSA_USER680.sql
|
|
|
|
# - classpath:/data/h2/TRAFFIC_MIN_SIMSA_USER680.sql
|
|
|
|
|
|
|
|
|
|
|
|
# ==================================================================================================================
|
|
|
|
# ==================================================================================================================
|
|
|
|
# database setting
|
|
|
|
# logging lib setting
|
|
|
|
# ==================================================================================================================
|
|
|
|
# ==================================================================================================================
|
|
|
|
datasource:
|
|
|
|
|
|
|
|
# driver-class-name: org.postgresql.Driver #org.h2.Driver
|
|
|
|
|
|
|
|
# url: jdbc:postgresql://localhost:5432/bustms
|
|
|
|
|
|
|
|
# username: traffic
|
|
|
|
|
|
|
|
# password: xhdgkq0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
driver-class-name: org.h2.Driver
|
|
|
|
|
|
|
|
url: jdbc:h2:mem:xitdb;MODE=Oracle;DATABASE_TO_LOWER=TRUE;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
|
|
|
|
|
|
|
|
username: sa
|
|
|
|
|
|
|
|
password: ''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
hikari:
|
|
|
|
|
|
|
|
driver-class-name: ${spring.datasource.driver-class-name}
|
|
|
|
|
|
|
|
jdbc-url: ${spring.datasource.url}
|
|
|
|
|
|
|
|
username: ${spring.datasource.username}
|
|
|
|
|
|
|
|
password: ${spring.datasource.password}
|
|
|
|
|
|
|
|
read-only: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ==================================================================================================================
|
|
|
|
|
|
|
|
# JPA setting
|
|
|
|
|
|
|
|
# ==================================================================================================================
|
|
|
|
|
|
|
|
jpa:
|
|
|
|
|
|
|
|
database-platform: org.hibernate.dialect.PostgreSQLDialect
|
|
|
|
|
|
|
|
#show-sql: false
|
|
|
|
|
|
|
|
properties:
|
|
|
|
|
|
|
|
hibernate:
|
|
|
|
|
|
|
|
hbm2ddl:
|
|
|
|
|
|
|
|
# create / create-drop / update / validate / none
|
|
|
|
|
|
|
|
auto: create-drop
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
h2:
|
|
|
|
|
|
|
|
console:
|
|
|
|
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
path: /h2-console
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ==================================================================================================================
|
|
|
|
|
|
|
|
# JPA logging lib setting
|
|
|
|
|
|
|
|
# ==================================================================================================================
|
|
|
|
|
|
|
|
decorator:
|
|
|
|
|
|
|
|
datasource:
|
|
|
|
|
|
|
|
p6spy:
|
|
|
|
|
|
|
|
enable-logging: true
|
|
|
|
|
|
|
|
logging:
|
|
|
|
logging:
|
|
|
|
level:
|
|
|
|
level:
|
|
|
|
# spring.mvc.log-request-details=debug 활성화
|
|
|
|
# spring.mvc.log-request-details=debug 활성화
|
|
|
|
web: debug
|
|
|
|
web: debug
|
|
|
|
root: info
|
|
|
|
root: info
|
|
|
|
# hibernate sql log 출력시 변수 바인딩
|
|
|
|
|
|
|
|
org:
|
|
|
|
org:
|
|
|
|
#hibernate:
|
|
|
|
springframework:
|
|
|
|
#type: trace
|
|
|
|
transaction:
|
|
|
|
|
|
|
|
interceptor: TRACE
|
|
|
|
|
|
|
|
orm:
|
|
|
|
|
|
|
|
jpa: TRACE
|
|
|
|
|
|
|
|
|
|
|
|
# ==================================================================================================================
|
|
|
|
# ==================================================================================================================
|
|
|
|
# Spring-doc 활성
|
|
|
|
# Spring-doc 활성
|
|
|
|