-
Notifications
You must be signed in to change notification settings - Fork 62
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
[Hibernate4] Support for array citext (case insensitive strings) #45
base: master
Are you sure you want to change the base?
Conversation
I think when the type is a "citext" we should use getObject instead of getArray because is not a standard JDBC but a Postgres specific type. I had the same problem with the ranges support. I think it's better to use getObject and then parse the String to change it into a String array. |
Ok, I'll try to change it using your code of ranges as a guide |
You're absolutely right, I don't know what I was thinking. I used getObject for the json support but I don't think about it for the |
Sorry I haven't had time to try this. Actually not sure how to try it without a release version to plug into my config.groovy file. |
@aeischeid Currently the feature is not complete and the code is pretty ugly so we're not going to merge and release a new version with this. In any case, if you want to try you can clone the repo and define the plugin as inline instead of use a published version. You can add to your grails.plugin.location."postgresql-extensions" = "../postgresql-extensions" And remove the line in the |
This PR is to fix the issue #26. Is not finished yet, some tests are missing. Please do not merge it.
@Alotor please review it and check specially the comment of
ArrayType
file. If you're not sure about merge it, we can at the office when I return from my holidays.