Welcome to the Hibernate community newsletter in which we share blog posts, forum, and StackOverflow questions that are especially relevant to our users.
If you’re curious how you can control the SQL
UPDATE statement generated by Hibernate, check out this article.
Thorben Janssen wrote an article about persisting the creation timestamp for a particular entity.
OptaPlanner is an open source project aiming to optimize business resource planning. Because persistence is a very common requirement for business applications, OptaPlanner offers support for JPA and Hibernate. Check out this post to find out more about integrating Hibernate into OptaPlanner.
hashCode for JPA entities requires you to take into account all entity state transitions.
For this reason, I wrote a summary of how you should implement
hashCode for both natural identifiers and synthetic keys.