Meaningless Drivel is fun!*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 19684
    
  20

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: StackOverflow error while retreiving data