How to map polymorphic JSON objects with JPA and Hibernate
Introduction In this article, I’m going to show you how you can map polymorphic JSON objects when using JPA and Hibernate. Since Hibernate doesn’t support JSON natively, I’m going to use the Hypersistence Utils library to achieve this goal.
How to customize the Hypersistence Utils Jackson ObjectMapper
Introduction The Hypersistence Utils open-source project allows you to map JSON, and ARRAY when using JPA and Hibernate. Since I launched this project, one of the most wanted features was to add support for customizing the underlying Jackson ObjectMapper, and since version 2.1.1, this can be done either declaratively or programmatically. In this article, you are going to see how to customize the ObjectMapper when using the Hypersistence Utils project.