Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

StackOverflow error while retreiving data

 
RaviSingh Kumar
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 387
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi RaviSingh,

first step is easy: post your code...

Herman
 
Rob Spoor
Sheriff
Pie
Posts: 20527
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic