ddl-auto의 옵션은 각각 어떤 동작을 하고 어떤 상황에서 사용해야 할까요? #161
Kimprodp
started this conversation in
Spring Data
Replies: 2 comments
-
1.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
ddl-auto는 스프링 부트가 데이터베이스를 초기화하는 방법 중 hibernate를 사용하는 방법입니다. 엔티티만 등록하면 스키마 자동 생성 및 관리를 제어할 수 있습니다. ddl-auto는 다음 5가지 옵션을 갖고 있습니다. none(default)
validate
update
create
create-drop
환경에 따라 권장하는 옵션은 다음과 같습니다. 개발 환경
테스트 환경
운영 환경
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
.
Beta Was this translation helpful? Give feedback.
All reactions