Jpql Query using not like for inet Hello I have a query where I want to filter the ips ending in 2. For that I wrote the NamedQuery as such: