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.
News
We are happy that Hibernate 5.1 is ready. The new User Guide still needs a few site-related changes in order to make the switch, so stay tuned!
Articles
Ondrej Mihályi made a summary of the differences in JPA entity locking modes.
Lorenzo Dee wrote an article about JPA pitfalls.
Javin Paul describes why JPA and Hibernate entity classes shouldn’t be final.
I wrote an article about enabling bytecode enhancement in Hibernate 5.
Questions and answers
-
How efficient are Hibernate’s interceptors compared to database triggers?
-
How to get the SQL error origin of an UnexpectedRollbackException?
-
Does TransactionAttributeType.NOT_SUPPORTED make sense for retrieving entities?
-
Use BIGINT column for java.util.Date or java.time.Instant in JPA/Hibernate
-
How to make this select * from two joined tables query in HQL form?