Welcome to the Hibernate community newsletter in which we share blog posts, forum, and StackOverflow questions that are especially relevant to our users.
Interviews
We managed to publish an interview with Jonathan Bregler from SAP, in which he talks about the advantage of using SAP HANA, as well as his story about contributing to the SAP HANA Hibernate Dialect.
Enjoy reading it, and, if you want to share your awesome story about database systems, JPA, Hibernate, or anything interesting about data just let us know.
Articles
Franck Pachot, who’s an Oracle ACE Director, wrote a very good article about
full-page logging in Postgres and Oracle.
The impact of full-page writes can impact performance, so you might want to use
the Hibernate-specific @DynamicUpdate
for heavy write-based enterprise applications.
Handing multiple time zones is always challenging. In this article, you are going to learn how to control time zones with Spring Boot and Hibernate.
The Hibernate SAP HANA Dialect has been improved considerably, thanks to Jonathan Bregler’s work. For more details, check out this article.
Ever wanted to connect to a relational database using Java and didn’t know the URL connection string? Then, this article is surely going to help you from now on.
This article introduces JPA Attribute Converters which are useful when you want to transform a certain entity property from one representation to another.
Using the Hibernate Query Cache for speeding up entity queries is a well-known technique. However, you can also cache DTO projections, as explained in this article.
Citus Data has published
a very good article
about implementing a multi-tenancy architecture based on the Hibernate-specific entity @Filter
feature.
Hibernate 5.3 adds support for JPA 2.2 which provides many improvements, like the repeating JPA annotations feature. For more details, check out this article.
On the same page, you can read this article about mapping a Duration attribute with Hibernate.
Questions and answers
-
Do I have to use Serializable for JPA and Hibernate entities
-
JPA: Selecting subset of entity won’t load @OneToOne property
-
Hibernate Converter and retrieve attribute name inside Converter
-
Ehcache Hibernate 2nd-level cache - Element for key is Null and N+1 query issue
-
What’s the difference between PESSIMISTIC_READ and PESSIMISTIC_WRITE in JPA?