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

Is jdbc a protocol?

681


What are the new features added to JDBC 4.0?

719


What is a datasource in java?

691


Which is better jpa or jdbc?

681


How does a custom RowSetReader get called from a CachedRowSet?

796


What are jdbc and its components?

753


Briefly tell about the jdbc architecture.

736


Does jdbc require oracle client?

698


Write an sql to find all records having all upper case alphanumeric characters in a field ?

711


What is jdbc and jdbc drivers?

668


What is the difference between jdbc and jndi?

688


What are four types of JDBC driver?

786


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

666


How can I determine the isolation levels supported by my DBMS?

717


What is jdbc oracle thin?

647