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 does jdbc setmaxrows method do?
What is jdbc class forname?
What is an SQL Locator?
Why did my jdbc code throw a rollback sqlexception?
How can we disable a constraint ?
How to find that, a row is updated or not?
what are design patterns?
How does jdbc work?
what is meant by connection pooling?
Result set’s index starts with 0 or 1?
What is the role of class.forname while loading drivers?
How to find the column count in resultset?