728x90
spring:
datasource:
#jdbc url
url: jdbc:h2:tcp://localhost/~/querydsl
username: sa
password:
driver-class-name: org.h2.Driver
jpa:
hibernate:
ddl-auto: create
properties:
hibernate:
# show_sql: true
format_sql: true
logging.level:
org.hibernate.SQL: debug
# org.hibernate.type: trace
jdbc url

728x90
'DB > H2' 카테고리의 다른 글
| H2 DB 파일생성 후 네트워크 접속 (0) | 2021.10.24 |
|---|