InSpring Boot WorldbyThe Turtle Code·3d agoTop 20 JUnit Interview Questions and Answers for Java DevelopersA Complete Guide to JUnit 5, Unit Testing, Assertions, Mockito, Parameterized Tests, Exception Testing, and Test-Driven DevelopmentA response icon1A response icon1
algopro·Oct 25One Annotation Cut Our SQL Write Amplification by 90%I added one annotation to a Java entity class. Two lines of code. The PR diff was so small that our reviewer almost skipped it.
Manjunath Dudam·Oct 25Controller, Service, Repository: What Goes Where in a Spring Boot BackendEvery Spring Boot project has these three layers. Hardly any two teams agree on what belongs in each one.
Rameshkumar Shanmugam·Oct 12JPA vs Hibernate vs Spring Data JPAWhy do we need any of this? We could just write raw SQL
Fred Feng·Oct 1EasyJPA: Criteria API Power in Three Lines, Not ThirtyEasyJPA is a Spring Boot starter that puts a fluent, lambda-driven API over the JPA Criteria API. Every condition is a method reference…
Ángel Cruz·Sep 5LAZY vs EAGER en JPA/Hibernate: Cuándo usar cada estrategia de carga en Spring BootLa configuración de una línea que termina en un LazyInitializationException o en un endpoint lento, y cómo decidir sin adivinar.
Vaibhav Pithadiya·Aug 24How to Use JPA Projections for Selective Query Results in Spring Boot ?When you work with databases in Spring Boot, you usually deal with full entity objects. But in many cases, you don’t need the whole thing.A response icon2A response icon2
Swati Jha·Aug 16N+1 Query ProblemDepartment has a OnetoMany relationship with department, means for 1 department there can be many employees.
Yunus Iqbal Siddique·Aug 9Demystifying Spring Boot Transactions: Proxies, Persistence, and the Magic of @ TransactionalIf you’ve been writing Spring Boot applications, you’ve undoubtedly used @Transactional. It’s the magic wand of data integrity—you slap it…
Yahan Botheju·Aug 8Understanding and Solving the N+1 Problem in Spring Data JPA / HibernateIf you are working with ORM (Object-Relational Mapping) tools like Hibernate or Spring Data JPA, there is a high chance you will run into a…