Solved

Problems with resultset being to large

Posted on 2004-09-21
8
163 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
  • 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
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…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

776 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