How to create Connection interface object because it is
Interface , Interface is not instansiated?

Answer Posted / guest

Connection con=DriverManager.getConnection
("jdbc:odbc:MydataSource);"



Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are devices?

583


What is jdbc driver in java?

579


What is a jdbctemplate?

598


How can we retrieve the file in the oracle database?

594


There is a method getColumnCount in the JDBC API. Is there a similar method to find the number of rows in a result set?

696






How do I receive a ResultSet from a stored procedure?

596


Explain in detail about JDBC and its general features?

605


What is the purpose of the jdbc resultset interface?

593


What is statement and preparedstatement in java?

570


password, is stored in as plain text. What can I do to protect my passwords?

585


What is statement and resultset in jdbc?

569


How to check jdbc driver version in websphere?

638


What is hbm xml?

568


Differentiate between stored procedure and functions?

698


What is the difference between jdbc and jndi?

574