Starting this year, we are hosting a series of articles focused on the Hibernate community. We share blog posts, forum and StackOverflow questions that are especially relevant to our users.
Articles
Eugen Paraschiv wrote a very detailed article about auditing entity changes, comparing JPA callback annotations with Hibernate Envers and Spring Data JPA Auditing.
The guys at Plumbr have raised awareness of how the MySQL JDBC driver handles database-generated warning messages. We created a JIRA issue for this, and we’re discussing various possibilities for handling it without affecting other database drivers which are more efficient in this regard.
I wrote an article about the AUTO
flush mode handling strategies employed by the Hibernate implementation of the Java Persistence API and the Hibernate native API.
WildFly 10 has just been released with support for Hibernate 5.
Videos
Thorben Janssen recorded a video explaining the first-level cache.
Questions and answers
-
Spring Data JPA (MySQL) saves String in exponential form rather than as a number
-
How to auto start Hibernate at deploy-time with Tomcat 8 or 9?
-
How to set a Hibernate interceptor for an EntityManagerFactory?
-
Is it ok to have a duplicate generator named defined in this persistence unit?
-
Cannot get ManyToMany to work with lists of items in Hibernate Criteria
-
How to prevent Hibernate from calling default constructor when resolving the unsaved-value?
-
How to Prevent save to Database in Hibernate on transaction commit?