JPA providers market share in 2016
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!
The survey
Java Persistence API is a standard. Hence, there are multiple options to choose from:
- Hibernate
- EclipseLink
- OpenJPA
Some applications choose not to use an ORM framework at all. For this reason, I decided to run a one-day survey on Twitter to get a glimpse on the JPA providers market share.
What #JPA provider are you using in production? #java
— Vlad Mihalcea (@vlad_mihalcea) August 13, 2016
The results
We had almost 700 people participating in this survey, and, in the end, Hibernate is leading them by a very large margin (e.g. 72%), meaning that it’s still the de facto choice for many production systems. EclipseLink is following with a market share of 13%, sharing the same percentage of the enterprise applications that chose not to use JPA.
Some have argued that the results might not be conclusive. However, similar results have been reported by ZeroTurnaround in 2014 and DZone in 2015.
Some time ago, I asked our community to rate the reason why they like Hibernate over other JPA providers:
What's #Hibernate advantage over all other #JPA providers?
— Hibernate (@Hibernate) July 28, 2016
Code quality and documentation seem to play a significant role.
Like any other open source framework, Hibernate has its issues. However, both the Hibernate development team and the community are working hard on fixing them. For instance, take the 5.1.1 release notes and see how many issues have been resolved. That’s impressive at least!
Regarding documentation, a new User Guide is now available. It took 3 months to rewrite it from scratch, but it was totally worth it.
For me, I think the number of resources available on the Internet that makes Hibernate a very good choice. There are 57000 questions and answers on StackOverflow, as well as on the official forum. There are many blogs about Hibernate too. Just my blog alone contains hundreds of articles related to Hibernate.
I'm running an online workshop on the 11th of October about High-Performance SQL.If you enjoyed this article, I bet you are going to love my Book and Video Courses as well.
Conclusion
When used properly, Hibernate performs very well in production. Otherwise, it will not get such a great market share. For instance, check out these 14 Hibernate Performance Tips. If you want to get ultimate performance from Hibernate, I bet you are going to love my book as well.
