Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Fetching Records From Database

 
Raj chiru
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi...
How could you fetch 1000 records from database?and consider the performance?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this an assignment/interview question? How would you do it?

Personally, 1000 records is not that many so I wouldn't do anything different than normal.
 
Raj chiru
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi...paul
This is an interview question
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, well we have a convention here not to just supply answers to this type of question with out a little more input from you.

Tell us what answer you gave and we'll tell you where you were right/wrong and why.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic