Published onJune 29, 2025Choosing Between @OnDelete and JPA CascadeHow I compared Hibernate @OnDelete and JPA Cascade for deleting product options while keeping persistence context consistency in mind.JPAHibernateCascadeDatabaseBackend
Published onJune 12, 2025Reducing Count Query Cost in PaginationHow I compared Page and Slice after reviewing the cost of automatic count queries in list APIs.JPAPaginationSpring-DataPerformance
Published onJune 4, 2025JPA N+1 Problem: Cause and Fix OptionsA comparison of Fetch Join, EntityGraph, and Batch Size while handling related data queries in a gift API.JPAHibernateSpringPerformance
Published onMay 7, 2025Why Some Validation Belongs in the Application LayerDeciding when a Kakao Tech Campus gift API should rely on database constraints and when it should validate rules in the application layer.SpringJPAValidationDatabaseBackend