How do you know which driver is connected to a database?
Answer Posted / venkat
Whenever u want to connect with DB
U need to config two
They r
1.Class.forName("DriverClass name");
2.Connection con =driverManager.getConection("URL Of
Manager Class");
Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is the latest version of JDBC? What are the new features added in that?
What is the JDBC syntax for using a literal or variable in a standard Statement?
What is jdbc in java?
What is @entity in java?
What is jdbc and why is it required?
What is JDBC ResultSet?
Which constraint cannot be specified as an explicit constraint and should be specified with the column only ?
What is new in JDBC 2.0?
Which type of JDBC driver is the fastest one?
How can we move the cursor in a scrollable result set?
There is a method getColumnCount in the JDBC API. Is there a similar method to find the number of rows in a result set?
How we can you use preparedstatement.
What does the connection object represents?
What are the jdbc drivers in java?
Why prepared statements are faster?