Feb 20 · 14 min read · As an application matures, its domain model inevitably grows heavier. What started as a simple Order entity evolves into a dense, interconnected graph of LineItem, CustomerProfile, PaymentHistory, and
Join discussion
Feb 8 · 3 min read · Building efficient search APIs in Spring Boot often leads to two common problems: infinite boilerplate code for dynamic filtering and performance bottlenecks caused by unnecessary count queries. In this post, I'll share how we solved both using a Gen...
Join discussionJan 22 · 5 min read · I Spent 4 Hours Debugging Spring Security So You Don't Have To I recently decided it was time to level up. I wanted to move away from the simple "In-Memory" authentication (where you hardcode users in the config) and build a real, production-ready s...
Join discussion
Jan 16 · 3 min read · You've probably seen JPA tutorials that mention mappedBy, tried your code without it, watched it work perfectly fine, and thought: "Why bother?" I get it. The relationship looks correct. The data saves. Everything seems fine. But here's the thing wha...
Join discussionOct 27, 2025 · 4 min read · What is specification? It is part of spring data jpa (built on top of the jpa criteria api). Think of it as a filter object that you can chain together. Instead of hardcoding queries, you build them programmatically at runtime. Each specification ...
Join discussion
Sep 7, 2025 · 4 min read · Introduction You just finished writing a feature in your Spring Boot project. It works on your machine, tests are green — but is it really production-ready? That’s where code reviews come in. A structured checklist helps catch hidden pitfalls, enforc...
Join discussionAug 26, 2025 · 8 min read · As a Java Developer, modeling data is a core part of your Job. When working with JPA and Hibernate, correctly mapping the different entities of database plays a crucial role. Correctly mapping entity relationships is the key to clean, efficient and s...
Join discussion
Aug 14, 2025 · 7 min read · Step - 1: What is Spring Boot? Spring Boot is the Java framework that helps you build the production ready backend applications with the minimal setup. This framework is actually a magic, I tell you why it’s a magic: We just need to add the dependen...
Join discussion
Jul 6, 2025 · 3 min read · 영속성 컨텍스트란? 영속성 컨텍스트란 엔티티를 영구 저장하는 환경으로 JPA가 엔티티를 메모리에서 관리하는 공간이다. 엔티티 매니저 팩토리를 통해서 고객의 요청이 올때마다 엔티티 매니저를 생성하고, 이때 엔티티 매니저와 1:1로 영속성 컨텍스트가 생긴다. EntityManaver.persist(entity); 위의 코드에서 entity는 persist 됨과 동시에 영속성 컨텍스트에서 관리하게된다. 영속성 컨텍스트에서 관리한다는것은 DB 에 저...
Join discussion