Re: two oracle jdbc drivers at once ?
Re: two oracle jdbc drivers at once ?
- Subject: Re: two oracle jdbc drivers at once ?
- From: Chuck Hill <email@hidden>
- Date: Wed, 13 Jul 2005 19:41:25 -0700
Driver will work if the drivers in the two jars have a different
package and / or classname.
Chuck
On Jul 13, 2005, at 7:24 PM, Gavin Eadie wrote:
We have almost all our Oracle databases on recent enough versions
of Oracle that the ojdbc14.jar jdbc driver works, but one old,
legacy database, over which we have little control which is not
backwards compatible (failures with ojdbc14.jar) and works with
classes12.jar.
I'm wondering if it possible to have both jar files in the
classpath at once and distinguish between which to use with which
database with some cleverness in the EOModel's connection record?
There's no distinction with
URL = "jdbc:oracle:thin:@xxxx.xxxx.umich.edu:1521:dflt";
username = umich;
password = xxxx;
but I wonder if either of
plugin = "";
driver = "";
can be used to disambiguate the class libraries.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden