Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Idea 7 Hibernate support

 
Martin Vician
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Dmitry

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?

Thanks
 
Dmitry Jemerov
author
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Martinko,

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.

Thanks for your feedback!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic