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


Please Help Members By Posting Answers For Below Questions

What does executeupdate return in jdbc?

512


What is JDBC PreparedStatement?

531


Which of the attributes in the monitoring tab for a jdbc connection pool in the administrative console tell us how many clients are currently waiting for a connection?

523


What is serialization and deserialization in java programming?

524


How we can you use preparedstatement.

555






Briefly tell about the jdbc architecture.

557


Which type of driver provides jdbc access via one or more odbc drivers?

523


Where is mysql jdbc driver located?

520


Where is ojdbc14 jar located?

504


Explain in detail about JDBC and its general features?

531


What is jdbc driver for sql server?

538


What is an advantage of using the jdbc connection pool?

454


What are the advantages of collection pools?

510


What is JDBC Savepoint? How to use it?

692


What is the function of setautocommit?

652