problem with hibernate support
已回答
I am new to hibernate and I want to execute HQL queries in hibernate console window. Unfortunately, I can't seem to do that.
The persistence tool window in intellij idea is not showing me tables and column for my data source.

My database tool window is showing me my table and columns properly. I have already assigned a data source to hibernate.cfg.xml.

Any help is appreciated.
请先登录再写评论。
Persistence tool window shows the entities based on the hibernate configuration file. Have you defined hibernate sessionFactory and the entity mappings?