HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
🚀
Random Bit Flip
/
[2기 - 훈] 10주차 RBF
[2기 - 훈] 10주차 RBF
[2기 - 훈] 10주차 RBF

[2기 - 훈] 10주차 RBF

주차
SpringBoot Part6
회고일
May 27, 2022
참여자
멘토
Property
tag
5주차 부터는 매일 진행하는 스크럼에서 나눈 내용을 기록할 계획입니다
1주 간의 수업과 과제를 진행하면서 새로 알게 된 개념이나 잘못 알았던 개념에 대해 이야기 해봅시다.

침묵은 생각을 하게 해주는 값진 시간이다. by kim

 

detached entity passed to persist

@GeneratedValue 가 붙은 필드를 사전에 채워두면 에러가 발생한다.
 

WebSecurityConfigurerAdapter

Spring Security 5.7.0부터 WebSecurityConfigurerAdapter 가 deprecated 되었다. 따라서 SecurityConfiguration(@Configuration)을 등록할때는 WebSecurityConfigurerAdapter 를 상속받아 메서드를 오버라이드 하지않고 별도 @Bean으로 등록하여 사용하는것을 추천한다.
공식문서 : Spring Security without the WebSecurityConfigurerAdapter