Articles by Tag #hibernate

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

Eager vs Lazy Initialization of Spring Beans

In Spring, one of the fundamental concepts revolves around the initialization of beans. When...

Learn More 7 0Aug 26 '24

Spring Boot 3 + Hibernate: Logando undefined/unknown

A partir de uma certa versão do Spring Boot 3, utilizando JPA o Hibernate adicionou os seguintes...

Learn More 6 0Apr 4

Spring Data JPA Stream Query Methods

Introduction Traditionally, fetching large amounts of data can strain memory resources, as...

Learn More 6 1Nov 17 '24

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 0Jan 11

How To Fetch Data By Using DTO Projection In Spring Data JPA

Introduction In this post, we'll explore how projections work in Spring Data JPA, discuss...

Learn More 5 0Nov 30 '24

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

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

Learn More 5 0Feb 3

Understanding JPA Mappings in Spring Boot: One-to-One, One-to-Many, Many-to-One, and Many-to-Many Relationships

When building applications with Spring Boot and JPA (Java Persistence API), managing relationships...

Learn More 4 0Aug 13 '24

Зоопарк Hibernate: N+1 запросов или как накормить жадного бегемота

Добро пожаловать в продолжение нашего приключения в зоопарке Hibernate! Сегодня мы сосредоточимся на...

Learn More 2 0Nov 20 '24

Ubuntu 22.04 Hibernate Using Swap File

If you're like me, you expect that in 2024 you can close the lid on your laptop and your computer...

Learn More 2 1Nov 25 '24

Fixing "No Serializer Found" Error in Hibernate

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

Learn More 2 0Feb 28

Persistence Context в Hibernate Zoo: путешествие объекта по жизненным состояниям

Добро пожаловать в Hibernate Zoo! Сегодня у нас увлекательное представление: встречайте Persistence...

Learn More 1 0Dec 6 '24

🐾 Hibernate Zoo: Путеводитель по языкам запросов в мире данных 🐾

Добро пожаловать в Hibernate Zoo! Сегодня мы прогуляемся по волшебному миру запросов к базе данных....

Learn More 1 0Dec 13 '24

Ubuntu hibernate: A little-known setting

When working on Linux/Ubuntu, have you ever gotten tired of reopening tons of apps and workspaces...

Learn More 1 2Oct 6 '24

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 1 0Feb 10

Spring JPA - @EntityGraph

By default, Spring Data JPA loads related data lazily, which can cause the N+1 problem — one query...

Learn More 1 1May 2

Como eu reduzi em até 99% o tempo de resposta da minha API

ORM's são uma ferramenta poderosa, mas ao mesmo tempo que facilita nossa vida, também torna um pouco...

Learn More 0 0Nov 22 '24

Unlocking the Power of Batch Processing with Spring Boot: A Deep Dive into Steps

In the world of Java development, particularly when using Spring Boot, batch processing is an...

Learn More 0 0Feb 3

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

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

Learn More 0 0Feb 7

hibernate-006: Unidirectional One-to-Many and Many-to-One in Hibernate (Department ↔ Employee)

Unidirectional One-to-Many and Many-to-One using Department and Employee Tables I'll show...

Learn More 0 0Feb 10

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

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

Learn More 0 0Jan 29

Unidirectional associations for one-to-many

What is a bidirectional relationship in relational database model? let's take a quick look - Suppose...

Learn More 0 0Nov 30 '24

hibernate-003: @IdClass(PaymentId.class)

The annotation @IdClass(PaymentId.class) is used in JPA (Java Persistence API) to define a composite...

Learn More 0 0Feb 7

Hibernate Caches: Speed Up Your DB Queries

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

Learn More 0 0May 10

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

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

Learn More 0 0Feb 25

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

hibernate-004: PaymentId.class

PaymentId Class (Best Practices) import java.io.Serializable; import...

Learn More 0 0Feb 7

hibernate-011: Understanding Unidirectional vs. Bidirectional Relationships in Hibernate

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

Learn More 0 0Feb 10

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-014: Why Did Hibernate Introduce Unidirectional and Bidirectional Relationships?

🚀 Why Did Hibernate Introduce Unidirectional and Bidirectional Relationships? Hibernate...

Learn More 0 2Feb 10

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