SqmLikePredicate not calling appendHqlString in hibernate


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?

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”.