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 is a jdbc url?

454


How to update a resultset programmatically?

579


What is jdbc type?

499


What is the meaning of connection?

516


What are the flow statements of jdbc?

515






What are the ddl statements?

462


Explain in detail about JDBC and its general features?

518


How many types of resultset are there in jdbc?

513


What is the use of jdbc api?

496


Why did my jdbc code throw a rollback sqlexception?

491


Which type of driver is unique in jdbc?

481


What do you understand by jdbc driver and explain its types?

483


Give steps to connect to the db using jdbc?

574


What are the exceptions in jdbc?

490


What are different types of JDBC Drivers?

523