• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with select

 
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: 661
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