Fix JpaClientModelCriteriaBuilder when querying by ALWAYS_DISPLAY_IN_CONSOLE with H6
This commit is contained in:
parent
4189edc9f1
commit
b55be98115
1 changed files with 2 additions and 2 deletions
|
@ -71,8 +71,8 @@ public class JpaClientModelCriteriaBuilder extends JpaModelCriteriaBuilder<JpaCl
|
|||
|
||||
return new JpaClientModelCriteriaBuilder((cb, query, root) ->
|
||||
cb.equal(
|
||||
cb.function("->>", JsonbType.class, root.get("metadata"), cb.literal("fAlwaysDisplayInConsole")).as(Boolean.class),
|
||||
value[0])
|
||||
cb.function("->>", String.class, root.get("metadata"), cb.literal("fAlwaysDisplayInConsole")),
|
||||
convertToJson(value[0]))
|
||||
);
|
||||
} else if (modelField == SearchableFields.ATTRIBUTE) {
|
||||
validateValue(value, modelField, op, String.class, String.class);
|
||||
|
|
Loading…
Reference in a new issue