I have to write huge data in text[csv] file. I used BufferedWriter to write the data and it took around 40 secs to write 174 mb of data. Is this the ...
This is sort of inline w/ Writing a large ResultSet to a File but the file in question is an Excel file.
I'm using the Apache POI library to write an ...
Hi, I am not an expert, but this is what I learnt in the past 2 weeks, which I think might help you a little bit. When you get the resultSet from a database, there is a default FetchSize. Everytime you do ResultSet.next(), it will first check whether there are records already fetched. If not, it will connect to the database ...
hello friends, I want to write file i.e. FileOutputStram object like wb.write(fileout) in resultset so that while loop should be able to write file row by row, wb is the WorkBook for excel and write(fileout) is write method for writting excel file, actually i have mentioned already my code in "invalid cursor error topic", you can see that code and please ...
Hi, I hope I'm posting in the right place. Since I can't tell whether my problem is in my use of ResultSet or with the OutputStream, I'm posting in general. This output of this code is running very slowly. There are about 10,000 records for the period in question that my ResultSet object is returning. It is then formatting and writing ...
Hello, I am new to Java and I am trying to write from a SQL resultset("SELECT RecordID,ARNumber,DateUpdated,REVCHANGES FROM Updates") is ther a way I can write the results stright to a database on the mainframe? If this is not possible then I will need to write the result set from resultset query toa text file. Is there any way to write ...