79752635

Date: 2025-09-01 14:29:23
Score: 0.5
Natty:
Report link

I've also stumbled upon this. It seems that in Hibernate 6.6 Expression.as(String.class) no longer generates an SQL CAST. It is now just an unsafe Java type cast. To use LIKE on a numeric column you must explicitly cast via JpaExpression#cast

It's part of the Migration Guide

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: nailer_boxer