This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JDBC and the fly likes StackOverflow error while retreiving data Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply 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: 19216

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
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: StackOverflow error while retreiving data
 
Similar Threads
How to check whether time out occured
JBOSS Seam registration problem
EXCEPTION_ACCESS_VIOLATION (0xc0000005)
Equivalent field for nclob in java
error while inserting data using poi