@Repository
publicinterface TestRepository extends CrudRepository<Test, Long>
{
@Transactional
@Modifying
@Query(value = "UPDATE Test t SET t.x = :value1 "
+ "WHERE t.x LIKE :value2")
void update(String value1, String value2);
}
during startup with logging.level.org.hibernate: TRACE logging SqmTreePrinter.visitLikePredicate results in an NPE because predicate.getEscapeCharacter() is null. I am not sure what the escape character should look like of a predicate, but can’t we just check if the escape character is not null? low priority because it is just a logging issue