File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Idea 7 Hibernate support Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Idea 7 Hibernate support" Watch "Idea 7 Hibernate support" New topic

Idea 7 Hibernate support

Martin Vician

Joined: Jan 23, 2007
Posts: 9
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?


Victory is the only truth that matters.
Dmitry Jemerov
Ranch Hand

Joined: Nov 24, 2006
Posts: 120
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:
You can watch the issue to get notified when the feature is implemented.

Thanks for your feedback!

Dmitry Jemerov<br />Development Lead<br />JetBrains, Inc.<br /><a href="" target="_blank" rel="nofollow"></a><br />"Develop with Pleasure"
subject: Idea 7 Hibernate support
It's not a secret anymore!