The JPA specification is like a Java interface, However, when it comes to performance, implementation details matter a lot. That’s why, even if you use the JPA standard, you still need to know how the underlying provider implements the standard specification.
For instance, if we take this tweet from Gareth Western:
We can clearly see that there is an issue in the way literals might be handled by Hibernate when executing a Criteria API query.
Therefore, in this article, we are going to see how literals are handled by Hibernate and explain what we have changed in Hibernate 5.2.12.
Continue reading “How does Hibernate handle JPA Criteria API literals”
Although there is an SQL Standard, every relational database is ultimately unique, and you need to adjust your data access layer so that you get the most out of the relational database in use.
In this article, we are going to see what you can do to boost up performance when using MySQL with JPA and Hibernate.
Continue reading “9 High-Performance Tips when using MySQL with JPA and Hibernate”
Answering questions on the Hibernate forum is a neverending source of inspiration. The following question is about joining unrelated entities using entity queries, and this post is going to explain how you can do it when using JPA and Hibernate.
Continue reading “How to JOIN unrelated entities with JPA and Hibernate”
While answering questions on the Hibernate forum, I stumbled on the following question, and, since it’s very interesting, I decided to turn the answer into a dedicated blog post.
Continue reading “How do solve the PostgreSQL :: cast operator issue with JPA and Hibernate”
Time flies when you’re having fun
It’s been fours years since I started this blog, and every year I happen to write a report. If you are curious about my progress, check out the previous reports:
Compared to last year, the traffic doubled and now I get around 150K page views and over 75K visitor on a monthly basis.
Overall, in these four years, I got over 2.5 million page views and 1.4 million visitors. Looks like high-performance data access is still a thing after all.
Continue reading “Four years of blogging”