[Hibernate3] Json has field value

Cherry-picked and adapted to hibernate 3 the PR #46
Merge pull request #48 from kaleidos/hibernate3/json_has_field_value

[Hibernate3] Json has field value