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

Is jdbc open source?

0 Answers  


what are design patterns?

3 Answers   CFC, TCS, Wipro,


What are the different types of JDBC drivers?

0 Answers  


how can we get the metaData (columnNames) from a table which has no Records..

2 Answers  


What are statements in JAVA ?

1 Answers   CTS,






Does jdbc use odbc?

0 Answers  


How do you create Connection?

5 Answers   HCL,


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

2 Answers  


commit() and rollback() methods are defined in which interface?

5 Answers  


Discuss the procedure of retrieving warnings?

0 Answers  


What is the full form of jdbc?

0 Answers  


Explain some new features available in jdbc 4.0?

0 Answers  


Categories