[ EXeX @ 16.06.2004. 17:06 ] @
E ovako,mozeli mi neko objasniti koja je razlika izmedju ova dva nacina ucitavanja drajvera i otvaranja veze: 1.nacin DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); conn=DriverManager.getConnection ("jdbc:oracle:thin:@dlsun511:1721:dbms733", "scott", "tiger"); 2.nacin Class.forName ("oracle.jdbc.driver.OracleDriver"); conn = DriverManager.getConnection ("jdbc:oracle:thin:scott/tiger@dlsun511:1721:dbms733"); Hvala. |