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 JDBC API and when do we use it?
What is setautocommit in jdbc?
What is xe in oracle jdbc url?
How to move the cursor in scrollable resultset ?
How can I determine the isolation levels supported by my DBMS?
What are types of jdbc drivers?
what are the advantages of JDBC?
What is ojvm used for?
Which Java and java.sql data types map to my specific database types?
Why isn't the java.sql.DriverManager class being found?
What do you understand by DDL and DML statements?
How java can be connected to a database?