Hibernate named query using xml
Named query is a concept of using queries by name. First a query is defined and a name is assigned to it. Then it can be used anywhere by this alias name. Syntax of hibernate named query using xml. <query name="queryName"> <![CDATA[queryString]]> </query><query name="queryName"> <![CDATA[queryString]]> </query> How to call a named query? We can call … Read more