Hibernate Community Newsletter 19/2018

Posted by    |      

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:

  1. The first article, explains the difference between the JPA EntityManager persist, merge methods and the Hibernate-specific Session save, update and saveOrUpdate methods.

  2. 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 and java.time.LocalTime are natively supported as field types,

  • configure the MongoDB ReadConcern strategy.


Back to top