What is static Synchronized method in JDBC API? Give an
example?
Answer Posted / venkat
getConnection is not synchronized method,but it is static
registerDriver(java.sql.driver);
deregisterDriver(java.sql.driver);
the above two methods are synchronized methods
if any one have doubet
go to command prompt type following command
javap java.sql.DriverManager
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Which is best database for java?
What is executeupdate in java?
Explain creation of statement object with connection method create method with help of an example.
What is SQL Warning? How to retrieve SQL warnings in the JDBC program?
What is the function of setautocommit?
What are the different types of resultset?
What are the different types of statements in jdbc?
I have the choice of manipulating database data using a byte[] or a java.sql.blob. Which has best performance?
What are devices?
Is it possible to connect to multiple databases simultaneously? Using single statement can one update or extract data from multiple databases?
How do I find ojdbc jar version?
Differentiate between stored procedure and functions?
What is execute in java?
What does the connection object represents?
Explain how data flows from view to db and reverse