What is the syntax of URL to get connection?



What is the syntax of URL to get connection?..

Answer / devarathnam c,kotagudibanda(po

Hi...
Connection con=DriverManager.getConnection
("jdbc:odbc:datasource name","scott","tiger");
(To connect oracle database)

Is This Answer Correct ?    9 Yes 1 No

Post New Answer

More JDBC Interview Questions

How do I find whether a parameter exists in the request object?

0 Answers  


What does executeupdate return in java?

0 Answers  


Differentiate between stored procedure and functions?

0 Answers  


What is the equivalent method for precompiled SQL Statement in JDBC?

1 Answers  


Does jdbc use ssl?

0 Answers  






Explain about the drive manager class working?

0 Answers  


What is ODBC and JDBC? How do you connect the Database?

0 Answers  


What driver should I use for scalable Oracle JDBC applications?

0 Answers  


What are the conditions applies to varchar variable, when using in procedures?

0 Answers  


What is java soft framework?

0 Answers  


What is metadata in programming?

0 Answers  


What is difference between statement and preparedstatement in jdbc?

0 Answers  


Categories