-
Notifications
You must be signed in to change notification settings - Fork 62
Json support hibernate4 #40
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
Conversation
|
@Alotor. Please do not merge it yet. I'm thinking about supporting both Map and JsonObject using |
|
To your question I don't think you should parametrize... maybe two different user types it's better. One question. Which operations are you planning to support? |
|
I don't know which operators we should support. I have to read about json in Pg and do some tests. Do you have any suggestions? I'll create a new UserType for JsonObject, update the documentation and do a push -f to this branch. |
|
http://www.postgresql.org/docs/9.3/static/functions-json.html Maybe we can use these functions to implement "has field" and "contains" (only to check if a field has a specific value) |
|
Ok, I'll try it :-) |
|
@Alotor ready to merge if you want it. Then I'll release 4.1.0 and backport the changes to 3.x branch. |
|
Great! looks awesome :) |
First version of the json support for Hibernate 4