• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Result Set in memory or connected to database ?

 
Ranch Hand
Posts: 126
Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 3252
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic