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
- How to customize the Jackson ObjectMapper used by Hibernate-Types
- How to customize the JSON Serializer used by Hibernate-Types
- How to fix the Hibernate โNo Dialect mapping for JDBC type: 1111โ issue when mixing JSON types with native SQL queries
- PostgreSQL ARRAY mapping
- Java Enum to PostgreSQL Enum Type
Character
to nullable CHAR columnImmutableType
utility 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.2.3</version>
</dependency>
<dependency>
<groupId>com.vladmihalcea</groupId>
<artifactId>hibernate-types-5</artifactId>
<version>2.2.3</version>
</dependency>
<dependency>
<groupId>com.vladmihalcea</groupId>
<artifactId>hibernate-types-43</artifactId>
<version>2.2.3</version>
</dependency>
<dependency>
<groupId>com.vladmihalcea</groupId>
<artifactId>hibernate-types-4</artifactId>
<version>2.2.3</version>
</dependency>
- Java version supported by the Hibernate ORM version you are using.
- SLF4J
- Jackson Databind