How many statements can be created with one connection in jdbc?
Answers were Sorted based on User's Feedback
Answer / pragyan
As per my knowledge as many statement as you want.
| Is This Answer Correct ? | 7 Yes | 0 No |
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 |
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 |
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 |
What is Distributed Application and what is its usage?
How to make a method thread safe without using synchronized keyword?
8 Answers Persistent, Societe Generale,
What is multithreading in java?
What is assembly used for?
What is included in core java?
What is generic type?
Can you explain the final method modifier?
What is the difference between math floor and math round?
suppose in a class there is a code like this: { Set hs=new Hashset(); hs.add(new Emp("kathy",1000)); hs.add(new Emp("kathy",2000)); } how can u avoid the above code in your class as set won't allow duplicate objects?
How will you invoke any external process in java?
What are different type of access modifiers?
write a program that list all permutations of ABCDEF in which A appears before B?