kaleidos / grails-postgresql-extensions

Grails plugin to use postgresql native elements such as arrays, hstores,...
Apache License 2.0
78 stars 62 forks source link

JsonMapType mapping does not work #80

Closed bobbywarner closed 8 years ago

bobbywarner commented 8 years ago

It appears there is an issue with the JsonMapType. I have used this with Grails 2 successfully many time, but on my first attempt using this data type in a Grails 3.0.9 app, it fails with a mapping error.

No Dialect mapping for JDBC type: 90021

Here is a sample project that replicates the issue: https://github.com/bobbywarner/postgresql-extensions-testapp

There is one domain class with one attribute of type JsonMapType. Please see the readme for SQL to setup a sample database that matches what's configured for the datasource.

ilopmar commented 8 years ago

It seems that there was a problem with the configuration of the dialect.

ilopmar commented 8 years ago

For further reference: https://github.com/kaleidos/grails-postgresql-extensions#configuration