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

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

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

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 0 0Oct 9

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

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

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

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

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

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

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

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

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

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

Hibernate-кэши: как медведи хранят запасы на зиму

🐻 Медведи — известные мастера организации запасов. Они прячут мёд и ягоды в разных местах, чтобы...

Learn More 10 0Feb 3

JOOQ Is Not a Replacement for Hibernate. They Solve Different Problems

I've originally written this article in Russian. So, if you're native speaker, you can read it by...

Learn More 6 1Jan 11

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

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

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

Learn More 0 0Feb 25

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

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

Learn More 0 0Feb 6

🚀 𝗠𝗮𝘀𝘁𝗲𝗿 𝗛𝗶𝗯𝗲𝗿𝗻𝗮𝘁𝗲 𝗕𝗮𝘁𝗰𝗵 𝗝𝗼𝗯𝘀: 𝗕𝗼𝗼𝘀𝘁 𝗣𝗲𝗿𝗳𝗼𝗿𝗺𝗮𝗻𝗰𝗲 𝗟𝗶𝗸𝗲 𝗡𝗲𝘃𝗲𝗿 𝗕𝗲𝗳𝗼𝗿𝗲! 💡

Are you struggling with slow database operations in your Java applications? Hibernate batch...

Learn More 0 0Jan 31

Full-Text Search with Hibernate Search

This article demonstrates full-text search integration using Hibernate Search in a Java 8+...

Learn More 0 0Apr 12

hibernate-002: @Table(name = "payments")

Understanding @Table(name = "payments") in Depth The @Table(name = "payments") annotation...

Learn More 0 0Feb 7

hibernate-010: Bidirectional One-to-Many & Many-to-One in Hibernate

🚀 Bidirectional One-to-Many & Many-to-One in Hibernate Now, let’s fully explore...

Learn More 0 0Feb 10

hibernate-013: Can You Mix Unidirectional and Bidirectional @OneToMany & @ManyToOne?

🚀 Can You Mix Unidirectional and Bidirectional @OneToMany & @ManyToOne? ✅ Yes, you...

Learn More 0 0Feb 10

hibernate-008: Unidirectional vs Bidirectional @OneToOne Relationship

🚀 1️⃣ Unidirectional @OneToOne Relationship ✅ In a unidirectional @OneToOne, only one...

Learn More 0 0Feb 10

Fixing "No Serializer Found" Error in Hibernate

Fixing "No Serializer Found" Error in Hibernate If you're working with Hibernate in a...

Learn More 4 0Feb 28

hibernate-007: Bidirectional One-to-Many & Many-to-One in Hibernate (Department ↔ Employee)

Bidirectional One-to-Many & Many-to-One in Hibernate (Department ↔ Employee) ...

Learn More 0 0Feb 10

Kotlin, JPA and AUTO_INCREMENT field in DB

A small tip about writing model class in Kotlin for one table entity. Let's assume that we have a...

Learn More 0 0Aug 26

Hibernate Caches: Speed Up Your DB Queries

Introduction: Turbocharge Your Database Performance What if you could slash your database...

Learn More 1 0May 10

𝗠𝗮𝘀𝘁𝗲𝗿𝗶𝗻𝗴 𝗘𝗻𝘁𝗶𝘁𝘆 𝗧𝗿𝗮𝗻𝘀𝗮𝗰𝘁𝗶𝗼𝗻𝘀 𝗮𝗻𝗱 𝗖𝗹𝗲𝗮𝗻 𝗖𝗼𝗱𝗲 𝗶𝗻 𝗦𝗽𝗿𝗶𝗻𝗴 𝗕𝗼𝗼𝘁

In the world of backend development, managing entity transactions effectively is crucial for...

Learn More 0 0Jan 29