File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes StackOverflow error while retreiving data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "StackOverflow error while retreiving data" Watch "StackOverflow error while retreiving data" New topic
Author

StackOverflow error while retreiving data

RaviSingh Kumar
Ranch Hand

Joined: Sep 04, 2007
Posts: 52
Hi,

I am using resultset for fetching the data from oracle database.
The problem is that the no. of data is more than 2000.Therefore it is giving
Stack overflow error after establishing the connection.I m using java version
1.4.

Want some steps to solve this one.Thanks in advance.
Herman Schelti
Ranch Hand

Joined: Jul 17, 2006
Posts: 387
hi RaviSingh,

first step is easy: post your code...

Herman
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19651
    
  18

Stack overflow usually indicates you're using recursion, whereas this shouldn't be necessary too much when working with result sets.

As Herman said, can you post the code that is providing the error? And the error stack trace as well?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
jQuery in Action, 2nd edition
 
subject: StackOverflow error while retreiving data
 
Similar Threads
JBOSS Seam registration problem
How to check whether time out occured
error while inserting data using poi
Equivalent field for nclob in java
EXCEPTION_ACCESS_VIOLATION (0xc0000005)