Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for JsonB[] column in PostgreSQL #596

Open
abisesh opened this issue Mar 20, 2023 · 1 comment
Open

Add support for JsonB[] column in PostgreSQL #596

abisesh opened this issue Mar 20, 2023 · 1 comment

Comments

@abisesh
Copy link

abisesh commented Mar 20, 2023

Issue with jsonb[] (array of JsonB) type in Postgres Sql. Note that this is not an array of objects in valid json or jsonb type, like '[{'k1':'v1'},{'k2':'v2'}]'

This is its own type - a postgres array of JSONB types, literally declared as follows: {"{'k1':'v1'}"}

Currently the Hibernate Types' Json doesn't handle this jsonb[], regardless if it is declared as an array on the Entity definition or like List < CUSTOMSERIALIZABLETYPE >

@vladmihalcea
Copy link
Owner

The jsonb[] column type is not currently supported.

But, if you need it, you can implement it and send a Pull Request.

@vladmihalcea vladmihalcea changed the title JsonB[] type in Postgres Fails Add support for JsonB[] column in PostgreSQL Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants