Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Result Set in memory or connected to database ?

 
Nitin Dubey
Ranch Hand
Posts: 126
Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello folks,
I have a simple doubt. And it grew to be a topic of debate between my friends . But no conclusion yet.
Here's a statement :
1. ResultSet object has all the fields fetched from database in memory(RAM). (Assuming that we are using JDBC ODBC Driver for SQL Server).
(True/False)
nitin
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
False. In general, ResultSets are connected objects, and the JDBC driver will not load the entire set in memory. As far as I know the jdbc-odbc bridge is no exception.
- Peter
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic