The Hibernate Types repository gives you extra types that are not supported by the Hibernate ORM core.
- Jackson
JsonNode
- Java Object to String or Binary JSON column mapping
- Java Collection to String or Binary JSON column mapping
- PostgreSQL ARRAY mapping
- Java Enum to PostgreSQL Enum Type
Character
to nullable CHAR columnImmutableType
utiility to simplifyUserType
implementations
Depending on the Hibernate version you are using, you need to following dependency:
<dependency>
<groupId>com.vladmihalcea</groupId>
<artifactId>hibernate-types-52</artifactId>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>com.vladmihalcea</groupId>
<artifactId>hibernate-types-5</artifactId>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>com.vladmihalcea</groupId>
<artifactId>hibernate-types-43</artifactId>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>com.vladmihalcea</groupId>
<artifactId>hibernate-types-4</artifactId>
<version>2.0.0</version>
</dependency>
- Java version supported by the Hibernate ORM version you are using.
- SLF4J
- Jackson Databind