The Hibernate Types repository gives you extra types that are not supported by the Hibernate ORM core.
Clone or download

README.md

License Maven Central JavaDoc

Introduction

The Hibernate Types repository gives you extra types that are not supported by the Hibernate ORM core.

Features

JSON

PostgreSQL Types (e.g. ARRAY, ENUM, INET)

Generic Types

Installation

Depending on the Hibernate version you are using, you need to following dependency:

Hibernate 5.4, 5.3 and 5.2

<dependency>
    <groupId>com.vladmihalcea</groupId>
    <artifactId>hibernate-types-52</artifactId>
    <version>2.3.2</version>
</dependency>

Hibernate 5.1 and 5.0

<dependency>
    <groupId>com.vladmihalcea</groupId>
    <artifactId>hibernate-types-5</artifactId>
    <version>2.3.2</version>
</dependency>

Hibernate 4.3

<dependency>
    <groupId>com.vladmihalcea</groupId>
    <artifactId>hibernate-types-43</artifactId>
    <version>2.3.2</version>
</dependency>

Hibernate 4.2 and 4.1

<dependency>
    <groupId>com.vladmihalcea</groupId>
    <artifactId>hibernate-types-4</artifactId>
    <version>2.3.2</version>
</dependency>

If you like it, you are going to love my book as well!

High-Performance Java Persistence

Requirements

  • Java version supported by the Hibernate ORM version you are using.
  • SLF4J
  • Jackson Databind