File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[Hibernate] Selection Collection from table.

 
Stas Baturin
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI
How to selection Collection from table without using Query query = session.createQuery(SQL_QUERY); ??
My example :

But throws Exception:

How to get a collection instead of just one object?
 
Aravind M Jay
Greenhorn
Posts: 15
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Criteria API is one of the ways -



 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic