• 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: 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
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!