Menu

#Hibernate

20 posts

Feed·
20 of 20 posts
Spring Data JPA N+1 queries: find them, fix them, test them
📰
0Read More

Spring Data JPA N+1 queries: find them, fix them, test them

DEV Community: java·duong vu·6 days ago
#yyeOcGK6
#devtojava#devto#dev#hibernate#b1_0

A list endpoint firing 11 SELECTs instead of 1? Find N+1 in the Hibernate 7 log, fix it with JOIN FETCH, @EntityGraph or batch fetching, and test the count.

15s
Spring Data JPA: Batch Insert Performance Tuning
📰
0Read More

Spring Data JPA: Batch Insert Performance Tuning

DEV Community: java·Dmitry Protsenko·30 days ago
#9OJ6QD8l
#devtojava#devto#dev#order#hibernate

Make Spring saveAll() 6x faster with hibernate.jdbc.batch_size and reWriteBatchedInserts. Four approaches benchmarked with before and after numbers.

15s
Why ORMs Exist: The Object-Relational Mismatch
📰
0Read More

Why ORMs Exist: The Object-Relational Mismatch

DEV Community: java·Mayur Bodhare·about 1 month ago
#Eow0Q7x7
#devtojava#devto#dev#hibernate#student

A simple guide to ORM tools and Hibernate: the problem ORMs solve, pros and cons, Hibernate with and without Maven (PostgreSQL), common methods, Hibernate vs Jakarta Persistence, and a step-by-step Spring Framework example.

15s
0Read More

Swap, ZRAM, Zswap and Hibernate on NixOS

Hacker News·2 months ago
#6tCyRb1L
#nixos#swap#zram#zswap#hibernate

If you want to use hibernate you need swap space and that complicates your choice around ZRAM and ZSWAP. I made several wrong choices before I found the correct one.

15s