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 |
How to send a request to garbage collector?
how to compile jsp?
When is the arraystoreexception thrown?
What is the difference between variable & constant?
what should do when using multiple catch() block & what should never do for the same?
how to make the double-tone class ? as we have singletone class..?
What’s a deadlock?
How many types of interfaces are there?
What does method mean?
What means public static?
What is the purpose of object oriented programming?
From the two, which would be easier to write: synchronization code for ten threads or two threads?