• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Idea 7 Hibernate support

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 149
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic