Welcome to the Hibernate community newsletter in which we share blog posts, forum, and StackOverflow questions that are especially relevant to our users.
Articles
Javin Paul wrote a very good article about the difference between the first and the second-level cache in Hibernate.
Implementing the soft delete pattern with Hibernate is trivial. Check out this article for more details.
Sri Vikram Sundar wrote a very detailed tutorial about integrating Spring MVC, MySQL, and Hibernate.
Stefan Pröll wrote two articles about using Hibernate Search and Spring Boot:
Sunil Singh Bora wrote a tutorial about saving and loading an Image using Hibernate 5.
Baeldung features an article about using the Hibernate-specific @Immutable
annotation
to mark entities that should never be modified, which allow Hibernate to enable some flush-time performance optimizations.
Arnold Gálovics wrote a very good article about using DTO projections for reading data when using JPA and Hibernate.
I wrote an article which explains how to handle timezones when using Date/Time and Timestamps with JDBC and Hibernate.
For our Portuguese readers, Rafael Ponte wrote a guide to controlling transactions programmatically in Legacy Systems using Java 8 Lambdas and the Template Pattern. For non-Portuguese readers, you can use Google Translate since most Romance languages are easily translated into English.
Thorben Janssen wrote an article about mapping a bidirectional many-to-many association with JPA and Hibernate.