Solved

Problems with resultset being to large

Posted on 2004-09-21
8
166 Views
Last Modified: 2010-03-31
We are running a query using jdbc, the total amount of records that could be returned are 100,000. Could this be a problem in our java code?
0
Comment
Question by:inzaghi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 35

Accepted Solution

by:
girionis earned 150 total points
ID: 12111807
> We are running a query using jdbc, the total amount of records that
> could be returned are 100,000. Could this be a problem in our java code?

It depends what do you mean by a problem in your java code. Generally though no, it shouldn't be a problem.

0
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 50 total points
ID: 12111817
What are you thinking of?
0
 
LVL 37

Assisted Solution

by:zzynx
zzynx earned 50 total points
ID: 12111835
>> Could this be a problem in our java code?
If e.g. you keep all records in memory that could lead to memory problems
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:inzaghi
ID: 12111846
What I meant could an SQLException be thrown if the resultset from the query is to big
0
 
LVL 37

Expert Comment

by:zzynx
ID: 12111866
No
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 12111887
8-)
0
 
LVL 37

Expert Comment

by:zzynx
ID: 12111894
Thanks for accepting
(Fast as lightening)
0
 
LVL 35

Expert Comment

by:girionis
ID: 12111898
:)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Java string replace 11 74
sql import cannot be resolved jsp 3 113
swing controls 2 35
What is the use of Forwarding Class in java 1 51
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question