Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Native vs. ODBC access in Java

Native vs. ODBC access in Java

From: Chris <schnul_at_my-deja.com>
Date: Thu, 30 Dec 1999 09:30:51 GMT
Message-ID: <84f84b$90p$1@nnrp1.deja.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US