Welcome to the Hibernate community newsletter in which we share blog posts, forum, and StackOverflow questions that are especially relevant to our users.
Articles
Arnold Gálovics continues his concurrency control series with this article about pessimistic locking in JPA and Hibernate.
Debezium allows you to parse the database transaction log and extract changes. You can use the change events to maintain a materialized view or update an application-level cache. In this article, you are going to find how to materialize aggregate views with Hibernate and Debezium.
Spring framework 5.1 has been released with a Hibernate optimization for read-only transactions. Check out this article for more details.
Eugen Paraschiv published two articles on his website:
-
The first article, explains the difference between the JPA
EntityManager
persist
,merge
methods and the Hibernate-specificSession
save
,update
andsaveOrUpdate
methods. -
The second article explains how to persist Date and Time objects with JPA and Hibernate.
If you are using SAP HANA, this article explains how to setup Hibernate for SAP HANA in your Eclipse project.
Time to upgrade
Hibernate OGM 5.4 CR1 has been released bringing the following features:
-
support Infinispan remote transactions over HotRod client,
-
Java types
java.time.LocalDate
,java.time.LocalDateTime
andjava.time.LocalTime
are natively supported as field types, -
configure the MongoDB ReadConcern strategy.
Questions and answers
-
How to add a custom Hibernate FlushingEventListener with Spring Boot
-
How to log the class and method that generated a given SQL query with JPA and Hibernate
-
What are some differences between Spring caching and Hibernate caching?
-
How do I use the @Where clause in Hibernate HBM XML mapping file?
-
How to load the actual Hibernate entity association and not the LAZY proxy
-
Hibernate second-level cache for many-many relationship in a joining table