Tags
Authors
While Java 9 has reached its end-of-life earlier this week, the Java Platform Module System (JPMS, JSR 376) is here to stay. This means also specifications such as the Java Persistence API or Bean Validation will eventually have to be adjusted to support and take advantage of the module system.
This blog post is the first of a series on exploring JPMS modularity patterns for specification APIs. In this part we’re going to look into how implementations of a specification API can be bootstrapped in a portable way and how such implementations can access the private state of modules of the user of the API. As discussed a while ago, the latter is a common requirement; for instance JPA providers must do so for reading and writing entity state.
Hibernate Validator 6.0 has matured a lot since its first release, last August.
We added a couple of new features but we also invested a lot of work in improving the overall performances.
I published a first blog post last October to share an update about our performance work based on 6.0.4.Final.
We just released 6.0.8.Final and have a couple more improvements baked for our next release so it’s definitely time for an update.
In this post, I’d like you to meet Mark Rotteveel, software developer and open source enthusiast.
[ ... ]
Welcome to the Hibernate community newsletter in which we share blog posts, forum, and StackOverflow questions that are especially relevant to our users.
The most significant feature in Bean Validation 2.0 (JSR 380) is the support for container element constraints.
I.e. you can now apply constraints to the contents of container types such as List
, Map
or Optional
by annotating their type arguments
(which became possible with Java 8): List<@Future LocalDate> shipmentDates
.
In this blog post you’ll learn how to take advantage of that for the validation of custom container types,
such as Multimap
, Table
or Graph
from Google’s widely known Guava library.
Hibernate ORM 5.3 implements the JPA 2.2 standard. Over the following weeks, we are going to present various features introduced by JPA 2.2.
The JPA 2.2 specification says that the following Java 8 types are now supported:
-
java.time.LocalDate
, -
java.time.LocalTime
, -
java.time.LocalDateTime
, -
java.time.OffsetTime
, -
java.time.OffsetDateTime
In this article, you are going to see that Hibernate ORM supports all these types, and even more:
-
java.time.Duration
, -
java.time.ZonedDateTime
Welcome to the Hibernate community newsletter in which we share blog posts, forum, and StackOverflow questions that are especially relevant to our users.
In this post, I’d like you to meet Jonathan Bregler, a software developer at SAP working on the SAP HANA database.
[ ... ]
Hibernate ORM 5.3 implements the JPA 2.2 standard. Over the following weeks, we are going to present various features introduced by JPA 2.2.
If Hibernate ORM 5.2 has added support for repeating Hibernate-specific annotations, JPA 2.2 will allow you to do the same with the JPA-specific annotations.
In this article, we are going to see how the repeating annotations feature is going to simplify your entity mappings.
Welcome to the Hibernate community newsletter in which we share blog posts, forum, and StackOverflow questions that are especially relevant to our users.