Welcome to the Hibernate community newsletter in which we share blog posts, forum, and StackOverflow questions that are especially relevant to our users.

Hibernate-Types project

My previous articles about mapping JSON as type-safe structures, as JsonNode or mapping PostgreSQL ARRAY as a Hibernate Type have generated a lot of interest, so I decided to encapsulate all these types in a new open-source project: hibernate-types.

What’s nice about this project is that not only it works with the latest 5.2, but it works with older versions of Hibernate ORM like 5.1, 5.0, 4.3, 4.2, and even 4.1.

For 3.x, I think you should definitely upgrade to a newer version and benefit from lots of improvements.


If you are using PostgreSQL and want to use the :: cast operator, then you should know that this will interfere with the way JPA handles named parameters. Check out this article for more details about this topic and how you can work around it.

Sometimes, you might be using a reserved SQL keyword for a table or column name. This article explains how you can escape reserved SQL keywords.

Time to upgrade

Hibernate Search 5.8.1 has been released, so you should take a look at it and consider upgrading as well.

Back to top