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 happens if we don't close the connection in jdbc?
How can I manage special characters when I execute an insert query?
Can we make a database connection from HTML ?
6 Answers Aptech, BOB Technologies, Cap Gemini, Wipro,
What is a jdbc driver and how many jdbc drivers are available?
how do we get the connection from connection pool
is java pure object oriented or not ?
What should be done for auto generating primary key id in a table ?
What is encrypted connection?
How to store images in database?
what exactly happens when we execute "Class.forname("Driver class name");"?Explain indetail
10 Answers Accenture, HP, IBM, Infosys, SAP Labs, SAS, Sasken, Trigent, Wipro,
What are the measures to connect to the db using jdbc?
What are the functions of the jdbc connection interface?