High-Performance Java Persistence Newsletter, Issue 23

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!

Introduction

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.

Articles

If you want to monitor how connections are being used by your Spring, Spring Boot, Java EE, Jakarta EE, or any Java application that uses Hibernate, then this article will explain how you can detect various connection-related issues automatically.

This article provides a refresher on the topic of database joins. I like such articles as, many times, we tend to overlook basic concepts and focus only on advanced topics.

On the same topic, I also started a series of articles about database join algorithms, and the first one is I covered is about Nested Loops, which is used by most RDBMS when there is a low number of records to be joined.

MySQL 8.0.23 has added support for invisible columns, which allow you to hide columns unless they are explicitly requested. For a detailed explanation of this feature, you should read this article.

Persona published a very good article about various settings that can help you speed up your MySQL database. If you want to improve the performance of your MySQL application, then this article is a great start.

Hibernate provides a @LazyToOne annotation that’s very important if you want to enable the bytecode enhancement lazy-loading mechanism. For more details about the @LazyToOne annotation and its strategies, check out this article.

Best Tweets

Here are the best tweets I posted since the last newsletter:

Project Releases

The 2.3 version of the amazing Hypersistence Optimizer project has been released. First, it simplifies the setup by registering the SessionFactory decorator automatically. Second, it provides many runtime checks that will help you speed up your Java data access layer. For more details about this release, check out the release notes.

MySQL 8.0.23 has been released, offering many improvements, like faster Hash Joins, invisible columns, as well as improvement to the encryption-at-rest feature. For more details about this version, check out the release notes.

Hibernate Reactive has released the Beta 2 version, offering several improvements in relation to Vert.x driver integration. For more details about this project, check out this article.

The 2.10.2 version of the Hibernate Types project has been released and provides an improvement for Guava Ranges. For more details about this release, check out this GitHub milestone.

Hibernate ORM released the 5.4.27 version, which provides support for Micrometer Statistics, among many other improvements.

Get in touch with my latest articles!

StackOverflow Answers

The following StackOverflow answers have been trending over the past two weeks:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.