79244961

Date: 2024-12-02 17:12:04
Score: 1.5
Natty:
Report link

You must use ".as()" JPA function so the "cast" is called natively.

ie with your use case:

cb.like(from.get("uuid").as(String.class), String.format("%%%s%%", stringValue));
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ben