Bookmark Topic Watch Topic
  • New Topic

getting results from uniqueResult()

 
Aaron Parker
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Report post to moderator
How do I get results out of the uniqueResult() method of the Query class. I can get a result into it, but I can't find anything that explain how to get stuff out!

Object results;
results = query.uniqueResult();
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
378
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Aaron,
Is the Query class from a library? What is the package name?

There is a javax.management.Query, but I don't think that's the one you are referring to.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Apparently it's a Hibernate thing, but in any case this is a duplicate so this copy will be closed.

Please don't post the same question in multiple forums, it creates duplicate conversations and wastes the time of the people trying to help you.

Dave
 
    Bookmark Topic Watch Topic
  • New Topic