
Quarkus Hibernate ORM Panache Active Record and Repository
Use Hibernate ORM with Panache in Quarkus: active record and repository styles, queries, paging and transactions, with Dev Services as the database.
Entity mapping, lazy loading, the N+1 query and other ways JPA surprises you, with the SQL it actually runs.

Use Hibernate ORM with Panache in Quarkus: active record and repository styles, queries, paging and transactions, with Dev Services as the database.

Read large JDBC result sets without running out of memory: setFetchSize, streaming cursors in PostgreSQL and MySQL, and transaction needs.

Use Hibernate Reactive in Quarkus with Mutiny: the Uni and Multi return types, reactive Panache, transactions and when blocking ORM is the better choice.

Build a Micronaut REST API backed by PostgreSQL with Micronaut Data JDBC, repositories generated at compile time, pagination and Flyway migrations.

The four SQL isolation levels and the anomalies they allow, including phantom reads, how PostgreSQL and MySQL differ and how to set a level in Java.

Add a database to a Play application with the Ebean plugin or with JPA and Hibernate, configure the connection and pick the one that fits your team.

Use Hibernate batch fetch size to turn N plus 1 queries into a few IN queries: global setting, per association annotation, trade-offs and how to verify.

Why Hibernate throws StaleObjectStateException when two users edit one row, and how to handle it with versioning, retries or pessimistic locks.

Fix the PostgreSQL JDBC connection refused error by checking that the server runs and listens, the host and port are right, and Docker networking is correct.

Spring transaction management explained: the Transactional annotation, the proxy and manager, propagation, rollback rules and common pitfalls.

Speed up bulk inserts in Hibernate with sequence ids, jdbc.batch_size, ordered inserts and periodic flush and clear, then check the batches ran.

Stop the StackOverflowError that Jackson raises when entities reference each other, by returning DTOs, or by breaking the cycle with Jackson annotations.
We send one email when a new post is published. No spam.