Reddy Prashanth wrote:Your domain class name is "Contact"
But your query shows "contacts". Change it to use "Contact". It will work. We have to use mapped java class name, not table name in the HQL
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton