spring
[Spring Boot 번역] Database Initialization
출처: https://docs.spring.io/spring-boot/4.0-SNAPSHOT/how-to/data-initialization.htmlSQL 데이터베이스는 스택이 무엇인지에 따라 다양한 방법으로 초기화될 수 있습니다. 물론 데이터베이스가 별도의 프로세스인 경우 수동으로 수행할 수도 있습니다. 스키마 생성을 위해서는 단일 메커니즘을 사용하는 것이 권장됩니다.Initialize a Database Using Hibernatespring.jpa.hibernate.ddl-auto를 설정하여 Hibernate의 데이터베이스 초기화를 제어할 수 있습니다. 지원되는 값은 none, validate, update, create, create-drop입니다.Spring Boot는 임베디드 데이터베이스를 사..
2025. 10. 10. 06:39