Ideally, Hibernate will have built-in support for queries inside JSON objects using JPQL / HQL and / or Criteria queries. This is currently not the case (5.0.1).
It looks like you will currently need to use your own queries using one of the following methods:
Hibernate, JPA, Hibernate , Session Session a java.sql.Connection.
, PostgreSQL, ? ->> json SQL, JPQL/HQL. . postgresql json operator. , JSON 9.3 9.4, 9.5, , .
, myjsoncolumn ? 'key' jsonb 9.4+. json (myjsoncolumn -> 'key') IS NULL. -> not ->>, -> json {"a":null}, NULL, {"a":null} {}.