How many statements can be created with one connection in jdbc?

Answers were Sorted based on User's Feedback



How many statements can be created with one connection in jdbc?..

Answer / pragyan

As per my knowledge as many statement as you want.

Is This Answer Correct ?    7 Yes 0 No

How many statements can be created with one connection in jdbc?..

Answer / sateesh

We can create the statements that are limited to the
database. we can set the number of statements that can be
created after. beyond that the exception will be thrown.

Is This Answer Correct ?    1 Yes 1 No

How many statements can be created with one connection in jdbc?..

Answer / arockiadass

we can create n-nos of statements using a single connection.
But single query can be executed using one statement at a time.

Is This Answer Correct ?    0 Yes 0 No

How many statements can be created with one connection in jdbc?..

Answer / pragyan

Sorry for my previous answer,There is near about 192
statements we can create from a connection object,after that
we ll get out of memory exception.

if anybody knows better answer ,replay back

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More Core Java Interview Questions

What is method Overloading in the perspective of OOPS?

6 Answers  


Why stringbuilder is not thread safe?

0 Answers  


What are the main uses of this keyword?

0 Answers  


How do you remove duplicates in java?

0 Answers  


How will you communicate between two applets?

0 Answers  






why Runnable interface is preferable than extending the Thread class?

7 Answers   Aizza, College School Exams Tests, Sybrant Technologies, Wipro,


Differentiate between class and structure.

0 Answers   Amdocs, Motorola,


How many types of gc are there in java?

0 Answers  


What is meant by overloading?

0 Answers  


How do you do math powers in java?

0 Answers  


How define set in java?

0 Answers  


What is the use of default method in interface in java? Explain

0 Answers  


Categories