IDEADEV-17350 is fixed, but inner classes are resolved not completely correct in hibernate support. Cases:
1. If hibernate.cfg.xml has entry:
<mapping class="hn.beans.BeanBox.Location"/>
then Location entity is shown in java EE view and suggested by code completion in HQL.
But it does not work with Hibernate. Instead, if hibernate.cfg.xml has entry:
<mapping class="hn.beans.BeanBox$Location"/>
then Location is not shown and not suggested, but Hibernate works.
2. When I do Refactor / Move class to inner then hibernate.cfg.xml is updated from:
<mapping class="hn.beans.Location"/>
to:
<mapping class="hn.beans.BeanBox.Location"/>
Wrong, should be updated to:
<mapping class="hn.beans.BeanBox$Location"/>
BeanBox.Location is highlighted as green (resolved), and the entity is shown in Java EE view: that's wrong.
BeanBox$Location is also highlighted with green and completion works, but the entity is not shown in Java EE view.
Notice, this is about configuration, not mapping file.