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 LayerA note from implementing a gift API in Kakao Tech Campus, where I had to decide whether to rely only on database constraints or check some rules in the application first.SpringJPAValidationDatabaseBackend