79355674

Date: 2025-01-14 16:29:17
Score: 1
Natty:
Report link

The solution to create a Predicate object for an "IN CLAUSE" is as follow:

Predicate[] predicates =  new Predicate[] {
        root.get("zone").in(Arrays.asList("Zone 1"))
};
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: user2023141