Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Native vs. ODBC access in Java
Hi!
I tried two access alternatives to an Oracle8i Lite database from Visual Age Java 3 (Java 2).
Once using ODBC and using the Oracle JDBC driver (native). I am wondering that the native access is slower.
May be (probably) I do something wrong. Does anybody can comment on this?
Thx,
Chris
PS: How I use these drivers:
Native:
Class.forName("oracle.lite.poljdbc.POLJDBCDriver");
c = DriverManager.getConnection("jdbc:Polite:olite;DataDirectory=c:
\\orawin95\\oldb40;Database=test", "", "");
ODBC:
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
c = DriverManager.getConnection("jdbc:odbc:Test", "", "");
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Thu Dec 30 1999 - 03:30:51 CST
![]() |
![]() |