Open sjjsvks opened 7 years ago
As you're using a Grails version with the patch applied you should map your attrib
field to HstoreMapType
instead of HstoreType
and remove the @Hstore
annotation on the field.
More info: https://github.com/kaleidos/grails-postgresql-extensions/tree/grails-2.x#grails-225-and-231
Domain Class (Product.groovy) :
Service Class (ProductService.groovy) :
When I try to get data from Domain class via Service class using GORM, following error will occur :