List out the parameter required for DriverManager.getConnection(" ? ", " ? "," ? ")

Showing Answers 1 - 2 of 2 Answers

nirmaa

  • Nov 17th, 2005
 

DriverManager.getConnection("jdbc:odbc:name","scott","tiger");

  Was this answer useful?  Yes

viswanadh

  • Mar 13th, 2006
 

In DriverManager.getConnection jdbc url is the parameter .it it is type 1 driver then the parameter is (jdbc:odbc:data sourcename);for type 2 the driver name is (jdbc:oracle:oci:netservice name:scott : tiger)for type 4 (jdbc:oracle:thin:@localhost: 1521:orcl:scott:tiger)

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions