This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with select  RSS feed

 
Sahana Hegde
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am very new to Hibernate. I am trying to query the database to populate the drop down of a form. The query has no relation with any classes.


How can I get the resultset for the same without having to write a class for it?

Thanks
 
Arun Kumarr
Ranch Hand
Posts: 662
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This would return a list of object arrays.

see here:
http://www.hibernate.org/hib_docs/reference/en/html/querysql.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!