• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate: native query to wrap the collection  RSS feed

 
Edward Chen
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the hibernate, do we have a similar function like this



Actually, just let native query to wrap the collection. Can we do this ?

Thanks.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure, if you're asking if you can do a regular select, it's no problem. Here's a sample snippet:

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!