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

Differentiate between a statement and a preparedstatement.

0 Answers  


i am user who logined the application..after that another valid user will also logind..so that is it neccessary to create jdbc connection for each and every user...plz explain it with proper answer...plz help me

5 Answers   IBM,


What is ojdbc14 jar?

0 Answers  


What is the fastest type of JDBC driver?

0 Answers  


how can we get the metaData (columnNames) from a table which has no Records..

2 Answers  






What is resultsetmetadata?

0 Answers  


What are the different types of drivers under jdbc?

0 Answers  


What are the standard isolation levels defined by JDBC?

0 Answers  


What is the difference between Union, Unionall ?

1 Answers  


What is jdbc odbc driver?

0 Answers  


What is jdbc and jdbc drivers?

0 Answers  


What is in terms of jdbc a datasource?

0 Answers  


Categories