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 method Overloading in the perspective of OOPS?
Why stringbuilder is not thread safe?
What are the main uses of this keyword?
How do you remove duplicates in java?
How will you communicate between two applets?
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.
How many types of gc are there in java?
What is meant by overloading?
How do you do math powers in java?
How define set in java?
What is the use of default method in interface in java? Explain