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 2-tier and 3-tier architecture?

1 Answers   TCS,


Explain the JDBC Architecture?

0 Answers  


What are collection pools?

0 Answers  


What is dburl?

0 Answers  


What is jdbc and explain jdbc architecture?

0 Answers  


What are different types of ResultSet?

0 Answers  


What is Type-2 Driver and when this driver is used?

2 Answers  


What is jdbc driver in java?

0 Answers  


How is jndi useful for Database connection?

1 Answers  


how to use CallableStatement? specially how to use their index given ..

1 Answers  


What is ojdbc14 jar?

0 Answers  


How can I connect mysql or oracle with java?

0 Answers  


Categories