• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is difference between Query.Scroll and Query.list of Query API Hibernate.

 
prakash pawar
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which is appropiate to use in term of Performance Effective ???
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One returns results as a List the other as ScrollableResults. Scrollable results are only possible with JDBC drivers that support them, and the type of cursor used will change the performance of the operation. This will be different accross JDBC drivers.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic