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
How many rowset are available in jdbc?
Why do we use jdbc in java?
What is statement and resultset in jdbc?
What is use of connection pooling?
Does jdbctemplate use prepared statements?
what is the meaning of following code snippets Class c=class.forName(driverClassName); Driver d=(driver)c.newInstance();
What is jdbc and why is it required?
Which database is used with java?
Is jdbctemplate thread safe?
Explain the difference between rowset vs. Resultset in jdbc?
How do I stop nullpointerexception?
Can I set up a connection pool with multiple user IDs? The single ID we are forced to use causes problems when debugging the DBMS.
How does jdbc connect to database?
Explain how data flows from view to db and reverse
What is an advantage of using the jdbc connection pool?