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 |
In which ways is driver class is registered with drive manager?
Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?
What is database connection pooling? Advantages of using a connection pool?
Does sql allow null values ? Can we use it within where clause ?
What are the types of statements in jdbc?
How can we move the cursor in a scrollable result set?
PreparedStatement is a pre compiled statement but where it's pre compiled ?
What is the difference between Minus, and Intersect?
What are different types of ResultSet?
is that compulsory to have Primarykey-forignkey for joints (outer inner,equal)
What is JDBC Connection? Explain steps to get Database connection in a simple java program.
What is odbc jdbc?