Welcome to the Hibernate community newsletter in which we share blog posts, forum, and StackOverflow questions that are especially relevant to our users.
Marko Bekhta, the @that_java_guy on Twitter has written a very good series of articles about JPA and Hibernate:
Although JPA is a very mature standard, Hibernate still offers many additions that you could definitely benefit from.
One such example is the
@NaturalId annotation which,
not only it allows you to map business keys on the entity level, but you can even
fetch the entity by its natural identifier without even hitting the database.
Eugen Paraschiv, who runs the well-known Baeldung website, has written two articles about Hibernate:
The Hibernate Validator team has put up a new benchmark to compare the following Bean Validation implementation:
Hibernate Validator 6.0.4.Final (released on the 25th of October 2017)
Hibernate Validator 5.4.2.Final (released on the 19th of October 2017)
Apache BVal 1.1.2 (released on the 3rd of November 2016)
In the true spirit of open-source software development, the JMH benchmarks are available on GitHub, so you can also run them yourself if you want.
For more details about the benchmark and the results we’ve got, check out this article.
If you want to play with Hibernate Validator, there is even a JavaFX example application that you can use to test this framework.
This article shows you a how you can call a PostgreSQL function from JPA.
For more details about how to call stored procedures and functions that can return both scalar (simple basic types)
REFCURSOR, which allows you to return table data as a
ResultSet, then you should definitely read the following articles:
Hibernate Search has been released new versions across three product development branches:
If you’re using Hibernate 5.6, 5.7 or 5.8, then you should check out the new updates.