This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JDBC and Relational Databases 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 Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "StackOverflow error while retreiving data" Watch "StackOverflow error while retreiving data" New topic

StackOverflow error while retreiving data

RaviSingh Kumar
Ranch Hand

Joined: Sep 04, 2007
Posts: 52

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

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...

Rob Spoor

Joined: Oct 27, 2005
Posts: 19911

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?

How To Ask Questions How To Answer Questions
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: StackOverflow error while retreiving data