SqmLikePredicate not calling appendHqlString in hibernate

Hi,

We have observed that our MatchMode.Exact is creating a like expression/predicate probably because SqmLikePredicate is not calling appendHqlString in hibernate 6.0

hql generated is “fieldName like replace(?,‘\’,‘\\’)” instead of "fieldName = ?'.

Kindly help us know the way to invoke appendHqlString? So that we can override and provide our implementation for this method if possible?

Thanks,
Yogesh Bali

You seem to be very confused about what Hibernate ORM really does, so maybe start by explaining your problem instead of directly jumping to some sort of “solution”.