DEV Community

Dung Nguyen
Dung Nguyen

Posted on

How to register a custom Hibernate ARRAY Type that handles both real[] and text[] array column types

I am using the Hibernate Types library for custom Hibernate types.

I have two CustomArrayType that handle the real[] and text[] array types.

I am able to register one CustomStringArrayType in the Hibernate Dialect (e.g. PostgreSQL94Dialect) but how can register two types?

Below is my custom dialect without which…

Top comments (0)