Batch Processing Best Practices with JPA and Hibernate
Get the most out of your data access layer
Watch Promo
Hibernate is the most popular JPA provider and knowing its inner-workings can make the difference between a high-performance enterprise application and one that barely crawls.
Based on my book, High-Performance Java Persistence, this online workshop is meant to mind the gap between Java developers and database programming.
Agenda
In this workshop, I'm going to talk about Batch Processing Best Practices with JPA and Hibernate.
Therefore, we are going to discuss:
- Persistence Context and entity state transitions
- JPA and Hibernate Flush Modes
- Hibernate event ActionQueue
- Hibernate flush operation order
- Dirty checking mechanism
- Bytecode enhancement dirty checking
- JDBC batch updates
- Hibernate automatic batch updates
- Hibernate cascading and JDBC batch updates
- JPA merge vs. Hibernate update
- Hibernate dynamic updates
- PostgreSQL reWriteBatchedInserts
- Statement caching
Target audience
This workshop is for any Java developer that happens to develop software that interacts with a relational database system.
After watching it, you'll know all sorts of tips that you can readily apply to your current enterprise project.
Created By
Vlad Mihalcea is a Java Champion and one of the top Hibernate ORM project committers. He created the Hypersistence Optimizer tool which scans your application configuration and mappings and tells you what changes you need to do to speed up your data access layer.
He's been answering thousands of questions about Hibernate and JPA on StackOverflow for which he's got gold badges for Hibernate, Java, and JPA tags.
Whenever he finds something interesting, he likes to share it on his personal blog. He believes in Open Source Software, and he thinks every developer should get involved, one way or the other.
If he doesn’t find a suitable tool for a job, he takes initiative and starts a new open source project, like Hibernate Types or FlexyPool.
Frequently Asked Questions

"Spot on! Vlad covered all of those little details which you have to know in order to fully exploit JPA and Hibernate capabilities. Great presentation as well!"
- Manos Tzagkarakis, Software Developer - Talent S.A.