[Spring Boot] Soft Delete 정책을 위한 @SQLRestriction은 좋은 방법일까? (feat. @Where) + 의문점 추가
·
Backend/Spring Boot & JPA
📕 목차1. 개요2. Function Aspect3. Architecture Aspect4. 결론1. 개요 📌 @SQLRestriction@SQLRestriction("deleted_at IS NULL")@SQLDelete(sql = "UPDATE user SET deleted_at = NOW() WHERE id = ?")public class User { ...} Is there a replacement for the in 6.3 deprecated @Where and @LoaderSince hibernate 6.3 org.hibernate.annotations.Where and Loader are deprecated. We are using these annotations together ..