Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

What is execute(), executeUpdate() and executeQuery() methods?

10 Answers  


What do you understand by jdbc datasource?

0 Answers  


What are the main components of JDBC ?

0 Answers  


Explain the main method?

0 Answers  


Does jdbc require oracle client?

0 Answers  






Why can't I invoke the ResultSet methods afterLast and beforeFirst when the method next works?

0 Answers  


What is meant by dao?

0 Answers  


What is a JDBC 2.0 DataSource?

0 Answers  


why we don't use the type 2 driver for connect to the database in jdbc?

1 Answers   TCS,


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

0 Answers  


What do you understand by jdbc statements?

0 Answers  


Is jdbc and orm?

0 Answers  






Categories