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

In which ways is driver class is registered with drive manager?

0 Answers  


Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?

0 Answers  


What is database connection pooling? Advantages of using a connection pool?

0 Answers  


Does sql allow null values ? Can we use it within where clause ?

0 Answers  


What are the types of statements in jdbc?

0 Answers  


How can we move the cursor in a scrollable result set?

0 Answers  


PreparedStatement is a pre compiled statement but where it's pre compiled ?

4 Answers  


What is the difference between Minus, and Intersect?

1 Answers  


What are different types of ResultSet?

0 Answers  


is that compulsory to have Primarykey-forignkey for joints (outer inner,equal)

2 Answers   IonIdea,


What is JDBC Connection? Explain steps to get Database connection in a simple java program.

0 Answers  


What is odbc jdbc?

0 Answers  


Categories