Louis - You may want to pick up the book "Java Programming with Oracle JDBC"
by Don Bales. The editor, Jonathan Gennick participates on this list from
time to time. It goes into quite a bit of detail on the differences between
the thin and thick drivers, even performs benchmarks. Just a guess, but my
initial impression would be that the two drivers may share very little code,
given that they work so differently.
Dennis Williams
DBA
Lifetouch, Inc.
[EMAIL PROTECTED]


-----Original Message-----
Sent: Tuesday, April 09, 2002 3:29 PM
To: Multiple recipients of list ORACLE-L




Hello all,

I have a question concerning the Oracle JDBC thin vs. thick drivers
and how they might affect operations from an application perspective.
 

We're in a Solais 8/Oracle 8.1.7.2 environment.  We have several
applications on several servers connecting to the Oracle database.
 

For redundancy, we're looking into setting up TAF (transparent
application failover).  Currently, some of our apps use the Oracle
JDBC thin drivers to talk to the database, with a connection
string that like this:

jdbc:oracle:thin:@host:port:ORACLE_SID

In a disaster recovery mode, where we would switch the database
from one server to another, the host name in the above string
would become invalid.  That means we have to shut down our application
servers and restart them with an updated string.

Using the Oracle OCI (thick) driver though, allows us to connect
to a Net8 service instead of a specific server:

jdbc:oracle:oci8:@NET8_SERVICE_NAME

Coupled with the FAILOVER=ON option configured in Net8, it is
then possible to direct a connection from the first server to
the failover database on another server.  This is exactly what
we would like to do.

My question is, from an application perspective, how is the Oracle
thick driver different from the thin driver?   If everything
else is "equal" (i.e. the thick driver is compatible with the
app servers) would there be something within the the thick/OCI
driver that could limit functionality vs. the thin driver?

My understand, which obviously is sketchy, is that the thick
driver is a superset of the thin driver.  If this is the case,
and for example if all database connections were handled through
a configuration file with the above OCI connection string, then
theoretically the thick driver should work.

If anyone has any info on this that they can share, it would
be greatly appreciated.

Thanks,
Lou Avrami




-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Louis Avrami
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: DENNIS WILLIAMS
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to