What is static Synchronized method in JDBC API? Give an
example?

Answers were Sorted based on User's Feedback



What is static Synchronized method in JDBC API? Give an example?..

Answer / indrani

getConnection is the synchronised and static method

Is This Answer Correct ?    36 Yes 3 No

What is static Synchronized method in JDBC API? Give an example?..

Answer / anilbabu

yes this is correct and good answer

Is This Answer Correct ?    3 Yes 0 No

What is static Synchronized method in JDBC API? Give an example?..

Answer / 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

More JDBC Interview Questions

Explain about the Try Block?

0 Answers  


Explain the locking system in jdbc & its types?

0 Answers  


Discuss the significances of jdbc.

0 Answers  


How do you know which driver is connected to a database?

3 Answers  


Why can't Tomcat find my Oracle JDBC drivers in classes111.zip?

0 Answers  






RowSetInternal caller and returns void. What can I do in the readData method?

0 Answers  


What is a rollback in jdbc?

0 Answers  


What is jdbc? Describe the steps needed to execute a sql query using jdbc.

0 Answers  


what does batchUpdate does?

6 Answers   HCL,


Which interface is responsible for transaction management in jdbc?

0 Answers  


What is the difference between Minus, and Intersect?

1 Answers  


How can we set null value in jdbc preparedstatement?

0 Answers  


Categories