Hello Team,
I wanted to write Named Queries in xml files and access the same using DataManager or EntityManager or by any other possible way you could suggest in my application. I have tried NamedQueries with annotations and its working fine. However at the same time when I tried with Named Queries in xml the jmix is not finding the named queries and throwing exception “The named query with the given name cannot be found” something like this.
I have written the named queries in orm.xml file and placed this file in src/main/resources/META-INF folder but still jmix can’t pickup.
Please assist. Thanks