Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem while Retrieving of millions of records from ResultSet  RSS feed

 
suresh chinnaswamy
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I'm executing a db query which returns a huge amount of data and writing the data in to a text file. Instead of iterating millions of times through the ResultSet and copying everything one-by-one, is there some way to simply retrieve data and write the result set data in to a file stream object.

Please suggest some solutions to overcome this isuue...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!