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 does split function do in java?

0 Answers  


What an i/o filter?

0 Answers  


How would you dynamically allocate memory to an array?

0 Answers   Atos Origin,


What is constructor and its types?

0 Answers  


what is the Diff. between Access Specifiers and Access Modifiers?

39 Answers   BMC, Cyber Shot, Infosys, VTS, Wipro,


what is encapsulation in java? Explain

0 Answers  


Explain about doubly linked list

0 Answers   Aditi Placement Service,


we have two threads..both the threads are reading the data.. is there any need of synchronization there?...justify it?

4 Answers   IBM,


What are the supported platforms by java programming language?

0 Answers  


how to crate clint-server socket?

1 Answers   Accenture, Infosys, Infotech, TCS,


what is the difference between a java object reference and c++ pointer?

4 Answers  


Is java se free?

0 Answers  


Categories