Articles by Tag #hibernate

Browse our collection of articles on various topics related to IT technologies. Dive in and explore something new!

[Quick Fix] Hibernate: object references an unsaved transient instance

TL;DR You are likely trying to save an Entity that refers to another object that isn't...

Learn More 2 0Dec 8 '25

What Kind of ORM Engine Does a Low-Code Platform Need? (1)

A low-code platform seeks to minimize the amount of hand-written code. The core tools it can rely on...

Learn More 4 0Oct 26 '25

How to Evaluate the Quality of a Framework Technology?

An interesting question is: when a new framework technology emerges, how do we evaluate its quality?...

Learn More 0 0Dec 1 '25

Understanding and Solving the N+1 Problem in Spring Data JPA

What Is the N+1 Problem? The N+1 SELECT problem happens when JPA (or Hibernate) executes...

Learn More 1 0Oct 9 '25

How JOIN FETCH Reduced Database Load by 94%: A Real-World Case Study

Learn how to systematically solve the N+1 problem in Spring Boot using JOIN FETCH optimization on a real financial system project

Learn More 0 0Dec 15 '25

How to Add Extended Fields to Entities Without Modifying Tables

Video Demo Based on the NopOrm engine built into the Nop platform, it's very convenient to add...

Learn More 0 0Dec 19 '25

Magic in the Wild: How Java Giants like Spring, Hibernate, and Mockito use Dynamic Proxies

Welcome to the second installment of the series: Java Proxies Unmasked. In the previous post, we...

Learn More 1 0Jan 1

Getting Started With Hibernate ORM and MongoDB

For years, Hibernate ORM has been one of the most popular frameworks in the Java ecosystem. It was...

Learn More 0 0Nov 4 '25

Hibernate JPA 어노테이션 가이드 - Entity, 상속, Named Query

Persistence 클래스 어노테이션 기본 어노테이션 @entity 클래스를 JPA 엔티티로 지정합니다. ...

Learn More 0 0Dec 31 '25

Hibernate XML 설정 가이드 - 매핑, 캐시, 트랜잭션

Hibernate는 어노테이션 기반 설정 외에도 XML을 통한 설정을 지원합니다. 레거시 프로젝트나 설정을 코드와 분리하고 싶을 때 유용합니다. 이 글에서는 XML 기반...

Learn More 0 0Dec 31 '25

Spring Data JPA 완벽 가이드 - Entity, Repository, Cache

Spring Data JPA는 데이터베이스 연동을 간편하게 해주는 프레임워크입니다. 이 글에서는 Entity 정의부터 다양한 Repository 인터페이스, 그리고 캐싱 전략까지...

Learn More 0 0Dec 31 '25

Modeling Relationships With Hibernate ORM and MongoDB

In the previous article—Getting Started With Hibernate ORM and MongoDB—we learned how to configure...

Learn More 0 0Nov 4 '25

JPA Entity 어노테이션 완벽 가이드 - 상속, Named Query, 기본 매핑

JPA(Java Persistence API)는 자바 객체와 데이터베이스 테이블 간의 매핑을 어노테이션으로 간편하게 정의할 수 있습니다. 이 글에서는 Entity 정의의 기본부터...

Learn More 0 0Dec 31 '25

Hibernate/JPA - Java ORM 프레임워크

Hibernate는 Java의 대표적인 ORM(Object-Relational Mapping) 프레임워크이며, JPA(Java Persistence API)의 구현체입니다. ...

Learn More 0 0Dec 31 '25

Hibernate JPA XML 설정 가이드 - 설정 파일과 매핑

Hibernate 설정 파일 (hibernate.cfg.xml) Hibernate의 핵심 설정 파일입니다. 기본 구조 <?xml...

Learn More 0 0Dec 31 '25

Hibernate 쿼리 완벽 가이드 - HQL과 Criteria API

Hibernate는 SQL을 직접 작성하지 않고도 데이터베이스를 조회할 수 있는 여러 방법을 제공합니다. 이 글에서는 HQL(Hibernate Query Language)과...

Learn More 0 0Dec 31 '25

Hibernate JPA 쿼리 가이드 - HQL과 Criteria API

HQL (Hibernate Query Language) HQL은 Hibernate의 객체 지향 쿼리 언어입니다. SQL과 유사하지만 테이블 대신 엔티티 클래스를...

Learn More 0 0Dec 31 '25

Spring Data JPA Best Practices: Repositories Design Guide

In this series of articles, I'm sharing my view on refactoring a large legacy codebase that employed...

Learn More 6 0Nov 17 '25

Hibernate : l’art du tuning qui transforme une application Java lente en application ultra-performante

Optimiser l’accès à la base de données, c’est un peu le nerf de la guerre pour toute appli Java qui...

Learn More 8 0Dec 1 '25

🧠 Hibernate Felt Like Magic… Until I Understood Entity Lifecycle & Cascading

At first, Spring Data JPA felt amazing. I wrote: repository.save(entity); Enter fullscreen...

Learn More 2 0Jan 15

🔍 JPA, Hibernate, JDBC… I Was Confused Until This Finally Clicked

When I started backend development with Spring Boot, these terms kept showing up...

Learn More 2 0Jan 11

ORMs: A Solution Looking for a Problem?

Table of Contents Introduction My Initial Reaction - "These People are Mad!!" Then Came...

Learn More 6 0Jul 6 '25

Hibernate Performance: Boost High-Volume Queries with Read-Only Sessions

Most developers working with Hibernate rely on the default Session, which comes with a built-in...

Learn More 0 0Sep 6 '25

Building Strong Data Foundations with Quarkus: A Beginner’s Journey in Persistence

Data is the hardest part of enterprise software. You can refactor code or redeploy services, but if...

Learn More 0 0Oct 13 '25

Working with Hibernate in Java - Part 1: Using xml config

We don’t want to use Spring because, at the moment, we are trying to learn Hibernate, which is a...

Learn More 4 0Nov 24 '25

🔗 JPA Relationships Finally Made Sense When I Stopped Memorizing Them

When I started Spring Data JPA, I thought relationships would be easy. Just...

Learn More 2 0Jan 16

The Object-Relational Impedance Mismatch: Why Your Java Objects and Database Tables Don't Play Nice

Have you seen this error? org.hibernate.LazyInitializationException: failed to lazily initialize a...

Learn More 0 0Jan 29

hibernate-012: Which Direction to Use for Each Relationship Type in Hibernate?

🚀 Which Direction to Use for Each Relationship Type in Hibernate? Choosing unidirectional...

Learn More 2 0Feb 10 '25

𝗠𝗮𝘀𝘁𝗲𝗿𝗶𝗻𝗴 𝗝𝗣𝗔 𝗤𝘂𝗲𝗿𝗶𝗲𝘀: 𝗜𝗻𝘀𝗶𝗴𝗵𝘁𝘀 𝗮𝗻𝗱 𝗖𝗵𝗮𝗹𝗹𝗲𝗻𝗴𝗲𝘀

Java Persistence API (JPA) is a powerful tool for managing data persistence in Java applications....

Learn More 0 0Feb 25 '25

𝗨𝗻𝗹𝗼𝗰𝗸 𝘁𝗵𝗲 𝗣𝗼𝘄𝗲𝗿 𝗼𝗳 𝗡𝗮𝘁𝗶𝘃𝗲 𝗤𝘂𝗲𝗿𝗶𝗲𝘀 𝗶𝗻 𝗦𝗽𝗿𝗶𝗻𝗴 𝗗𝗮𝘁𝗮 𝗝𝗣𝗔!

𝗨𝗻𝗹𝗼𝗰𝗸 𝘁𝗵𝗲 𝗣𝗼𝘄𝗲𝗿 𝗼𝗳 𝗡𝗮𝘁𝗶𝘃𝗲 𝗤𝘂𝗲𝗿𝗶𝗲𝘀 𝗶𝗻 𝗦𝗽𝗿𝗶𝗻𝗴 𝗗𝗮𝘁𝗮 𝗝𝗣𝗔! 🚀 Spring Data JPA simplifies database...

Learn More 0 0Feb 6 '25