What is the statament we need to use particularly when using type2 and type 4 drivers( example for type 1 jdbc.odbc.JdbcOdbcDriver)?

Showing Answers 1 - 4 of 4 Answers

m.kirankumar

  • Oct 23rd, 2005
 


Question: What is the statament we need to use particularly when using type2 and type 4 drivers( example for type 1 jdbc.odbc.JdbcOdbcDriver)?
Answer:

  Was this answer useful?  Yes

Amjad

  • Nov 17th, 2005
 

For type 4 we are using the Thin driver

  Was this answer useful?  Yes

Li

  • Feb 2nd, 2006
 

Class.forName("oracle.jdbc.driver.OracleDriver");

  Was this answer useful?  Yes

Type1: sun.jdbc.odbc.JdbcOdbcDriver

type4(thinDriver):jdbc:"oralce:thin:@localhost:1521:oracle","scott","tiger")

It is fastest Driver,it uses java sockets to direct connect with oracle.it is 100%pure java.this is 100% platform independent.

  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