Closed ilopmar closed 10 years ago
@alotor. Please do not merge it yet.
I'm thinking about supporting both Map and JsonObject using ParameterizedType
as you did with ArrayType. What do you think about it?
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