Now when I am trying to write HQL intellij can not find the entity class. It says : "can not resolve symbol 'User'". I have googled it, and I found that hibernate.cfg.xml file should be mapped by the intellij.
Now the problem is I don't have this hibernate config file. I have configure hibernate using java based.
So the question is , How to write a HQL in intellij in java based hibernate configuration ?
Thank you