Solved

Problems with resultset being to large

Posted on 2004-09-21
8
161 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
 

Author Comment

by:inzaghi
ID: 12111846
What I meant could an SQLException be thrown if the resultset from the query is to big
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

861 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now