Database
[Database] JPA Table 자동 생성 안됨
brightGarden02
2024. 11. 29. 15:26
yaml에서 jpa가 spring 안에 두칸씩 들여쓰기 되어 있는지 확인하면 됩니다.
spring:
datasource:
url: jdbc:h2:tcp://localhost/~/test
username: sa
password:
driver-class-name: org.h2.Driver
jpa:
hibernate:
ddl-auto: create
properties:
hibernate:
# show_sql: true
format_sql: true