What is static Synchronized method in JDBC API? Give an
example?
Answers were Sorted based on User's Feedback
Answer / indrani
getConnection is the synchronised and static method
| Is This Answer Correct ? | 36 Yes | 3 No |
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 |
What is jsp and jdbc?
How to rollback a JDBC transaction?
What is Statement and PreparedStatement? whatz the difference?
Explain the necessary steps to connect to the database in java?
What is a datasource in java?
What is jdbc oracle thin?
What is the role of class.forname while loading drivers?
What is the major difference between java.util.date and java.sql.date data type?
How can we store the file in the oracle database?
What is the latest version of JDBC? What are the new features added in that?
How many categories of jdbc drivers are there?
How data can be inserted into long row column of database?