A Named SQL query is the HQL query that is associated with a
string name and can be referenced in the application by name.
It can be used in following ways:
XMLMapping File: We can define it in XMLmapping file.
Egg.
query = "from Book s where s.author = :author”
)
})