Welcome to the Hibernate community newsletter in which we share blog posts, forum, and StackOverflow questions that are especially relevant to our users.
Articles
In this article, Philip Riecks explains how to improve performance by lazy loading entity attributes.
When using JPA and Hibernate, it can happen to overlook some basic concepts which are actually very important when dealing with performance issues.
This article explains the difference between the find
and getReference
method of the EntityManager
.
If you’re planning to use Spring Data, the following two tutorials will help you get started:
One advantage of using JPA and Hibernate is the support for database and application-level concurrency control. In these two articles, Eugen Paraschiv explains how to use:
On the same topic, it’s also worth reading this article that explains the Non-Repeatable Read data anomaly.
Time to upgrade
There Hibernate Search 5.10.2 has been released.
Questions and answers
-
TwoWayFieldBridge on composite ID referring to another entity when using Hibernate Search
-
Hibernate 5 - programmatically adding HBM mapping to the configuration - no named queries found
-
Session.createFilter is deprecated in Hibernate ORM 5.3. Is there any alternative?
-
How to make Hibernate Proxies implement a certain marker interface
-
When to use EntityManager.find() vs EntityManager.getReference() with JPA
-
Does using Constructor Result in a JPA or Hibernate query affect performance?
-
How to change Hibernate GenerationType identifier depending on the underlying database
-
Hibernate returns null for entity property that is annotated with @Formula after saving the entity
-
What is the difference between a Session and a Connection in Hibernate?