Welcome to the Hibernate community newsletter in which we share blog posts, forum, and StackOverflow questions that are especially relevant to our users.
Market share
According to the 2018 JVM ecosystem report published by Snyk, Hibernate has a 54% market share, making it the most popular Java data access technology.
Although it’s been available since 2001, Hibernate has been evolving constantly, and the Hibernate ORM version 6 is going to bring many new features and improvements, so stay tuned!
Articles
JPA 2.2 supports the following java.time
types introduced by Java 8:
-
java.time.LocalDate
-
java.time.LocalTime
-
java.time.LocalDateTime
-
java.time.OffsetTime
-
java.time.OffsetDateTime
Apart from supporting all those types, Hibernate provides the following extra types:
-
java.time.Duration
-
java.time.Instant
-
java.time.ZonedDateTime
However, neither JPA nor Hibernate support the java.time.Year
and java.time.YearMonth
out-of-the-box. The following two articles show you how to support these types when using JPA and Hibernate:
Eugen Paraschiv wrote two articles about Hibernate:
Time to upgrade
Hibernate ORM 5.3.7 has been released. For more details about this version, check out the release notes.
Questions and answers
-
How to map
java.time.Year
and othersjava.time
types using Hibernate -
Hibernate returns stale data from the cache instead of the latest record from the DB
-
How to avoid java.util.ConcurrentModificationException in entity merging in JPA and Hibernate
-
Hibernate PostgreSQL JSONB issue: No Dialect mapping for JDBC type: 1111
-
Criteria stopped working after upgrading Hibernate ORM to 5.3.7
-
How to set the
parentId
property in a child Entity of one-to-many mapping using Spring Boot Data JPA