High-Performance Java Persistence Newsletter, Issue 45
Imagine having a tool that can automatically detect JPA and Hibernate performance issues. Wouldn’t that be just awesome?
Well, Hypersistence Optimizer is that tool! And it works with Spring Boot, Spring Framework, Jakarta EE, Java EE, Quarkus, or Play Framework.
So, enjoy spending your time on the things you love rather than fixing performance issues in your production system on a Saturday night!
Welcome to a new issue of the High-Performance Java Persistence Newsletter in which we share articles, videos, workshops, and StackOverflow answers that are very relevant to any developer who interacts with a database system using Java.
Related to Spring, I published three new articles on my blog:
- The best way to do the Spring 6 migration
- The Spring Data JPA findById Anti-Pattern
- Spring Data JPA entity locking
YugabyteDB is a very good database system alternative to PostgreSQL, as illustrated by this article about the Batched Nested Loop join.
Since Spring 6 comes with Hibernate 6, you should know that you can now use
EXCEPT in JPQL and Criteria API queries.
I uploaded a new video on YouTube about the best way to fetch entities with JPA and Hibernate:
This video is part of my High-Performance Java Persistence video course, so if you like this episode, you are going to love the video course.
Here are the best tweets I posted since the last newsletter:
It's all about Persistence! pic.twitter.com/v9oFalgHEZ— Vlad Mihalcea (@vlad_mihalcea) November 27, 2022
🎯 This is a valid JPQL query in Hibernate 6!— Vlad Mihalcea (@vlad_mihalcea) November 16, 2022
Now that Spring 6 has been released, you are going to love all the goodies that have been added to Hibernate 6. pic.twitter.com/GA0GiP6yxh
The 2.6.3 version of Hypersistence Optimizer has been released, fixing a configuration issue that could happen when using it with older Hibernate 4 versions.
PostgreSQL 15.1 has been released, and it provides fixes for the previous 15.0 version.
The PostgreSQL JDBC Driver released the 42.5.1 version.
Hibernate ORM has released several new versions for the 5.6 branch:
Get in touch with my latest articles!
The following StackOverflow answers have been trending since the last newsletter episode: