asked
[Concepts are easy, Practice is intense] Spring Boot, Introduction!
28 Connecting to an External DB (Even if you turn the server off and on, it doesn't change!)
Written on
·
719
1
안녕하세요 선생님
강의에서 알려주신 설정들 중
spring.datasource.data=classpath:/data.sql spring.datasource.initialization-mode=always
두개가 Deprecated 라고 표시되면서 대체해서 사용할 수 있는 걸 알려주는데 이렇게 사용해도 될까요?
변경 후 서버를 실행해보면 돌아갑니다.
변경 전 ↓
변경 후 ↓
Answer 2
0
도움이 되었습니다 감사합니다
스프링 부트 버전업에 따라 설정이 변경이 필요할 수 있습니다
소중한 공유, 감사합니다🙇♂️