File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
I/O and Streams
How to create flate from Resultset?
Joined: Jun 06, 2008
Jun 06, 2008 06:51:00
I have resultset of size of 50000 records, I need to wite to flat file, I am using I/O objects like follows:
outPW_FlatFile = new
I am getting outof mememry exception. what is the optimal ways to create the flat file?
Joined: Oct 29, 2001
Jun 06, 2008 06:53:00
Welcome to the JavaRanch.
Rather than read in all 50000 records then writing them to a file, try reading a subset of the result set, 1 or 1000, and write that block to the file.
How To Ask Questions On JavaRanch
I agree. Here's the link:
subject: How to create flate from Resultset?
My Data over The network
Problem facing with FlatFIle adapter in websphere integration developer7.0
Creating a flat file
problem with "group by"
UNIX - JAVA database or random access
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015