Welcome to the Hibernate community newsletter in which we share blog posts, forum, and StackOverflow questions that are especially relevant to our users.
Articles
This article explains how the JPA Persistence Context works as well as the entity state transition operations.
When using Hibernate, you can easily implement a multitenancy architecture. This article explains how the catalog-based multitenancy works and why you should consider it for database systems like MySQL or MariaDB.
Simon Wirtz wrote a very comprehensive tutorial about developing a JPA and Hibernate application with Kotlin. If you are planning on using Kotlin, you should definitely read Simon’s tutorial.
This article explains how you can set up Spring to use Ehcache in order to speed up data access layer operations. This is an alternative to the Hibernate second-level cache and can be used at the service-layer level to cache entire reporting aggregates resulted after intensive data processing.
While Hibernate OGM is the typical solution for persisting JPA entities in Redis, this article explains how you do that with Hibernate ORM via the CData JDBC Driver for Redis. If you are already using Hibernate ORM in your project and need to integrate Redis into your application stack, the CData JDBC Driver is worth considering.
Questions and answers
-
Keeping entity relationship in sync when deleting child in JPA
-
Hibernate PostgreSQL JSONB issue: No Dialect mapping for JDBC type: 1111
-
How to configure multiple DataSources for multitenancy in Hibernate
-
Is SQL faster than JPQL or HQL when using JPA and Hibernate?
-
Hibernate first-level cache issue while encrypting and decrypting an entity property
-
After disabling Ehcache, it still appears enabled, and I get an exception from buildSessionFactory
-
Hibernate orm 5.3.5 : javax.persistence.spi::No valid providers found
-
HHH-8851: composite ids via hbm.xml cause ‘expected IdClass mapping’: any fix/workaround?
-
How can I create SELECT FROM SELECT query with JPA and Hibernate?