79618486

Date: 2025-05-12 18:54:15
Score: 1
Natty:
Report link

The fix is to use literal instead of null:

criteriaQuery.set(root.get(MyEntity_.tag), criteriaBuilder.nullLiteral<Tag>(Tag::class.java))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: viktor