I was excited about running HQL queries directly from Idea. I tried it out but when I run query which returns entity, like for example , the only apparent result I get is only toString() of User object in console output which does not help much because I do not override toString() to show all properties... Similar output happens when I select more fields at once, like for example .
In eclipse + hibernate tools plugin when I select entities or whatever using "new" hql keyword, then I can click on result and in different window I can see all properties of result object.
Am I doing something wrong or it is not possible in Idea?
Victory is the only truth that matters.
posted 8 years ago
Indeed, the HQL console in the current version of IntelliJ IDEA doesn't allow to view entity fields. I've created a JIRA issue to add this feature: http://www.jetbrains.net/jira/browse/IDEADEV-23145 You can watch the issue to get notified when the feature is implemented.