I'm afraid this is actually a DBCP qsuestion. Java permit to load severals versions of the same class using classloaders. In a personal development, I managed to load 2 drivers separately using Class.forName(String className, boolean initiliaze, ClassLoader classLoader) twice. But using, DBCP and the BasicDataSourceObject, I can only give the name of the class.
Is that right ? Stéphane. > -----Message d'origine----- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] De la part de James Carman > Envoyé : jeudi 6 septembre 2007 12:48 > À : Jakarta Commons Users List > Objet : Re: [DBCP] Newbie question again > > This is not a DBCP question, but a Java question. I would > try using the latest JDBC driver, since they are usually > compatible with older versions of Oracle. > > On 9/6/07, Stéphane Rault <[EMAIL PROTECTED]> wrote: > > Hello again > > > > I repost my question. Perharps, my question is difficult to > understand > > due to my poor english ? Or there is no solution for my > problem with > > DBCP ? Or the answer is evident and I didn't found it ? > > > > Thanks in advance. > > > > Stéphane. > > > > -----Message d'origine----- > > De : Stéphane Rault [mailto:[EMAIL PROTECTED] Envoyé > : mardi 4 > > septembre 2007 11:08 À : > > Objet : Newbie question > > > > Hello everybody. > > > > I'm using BasicDataSource to work with differents database > in our own > > database pool. My problem is that I must work with > different version > > of Oracle that need different versions of the same class. > Is there a > > possibility to precise the needed jar with the driver class (I can > > also give an URLClassLoader to localize the jar to the > corresponding version). > > > > Can DBCP help me there ? > > > > Thanks in advance. > > > > Stéphane. > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.485 / Virus Database: 269.13.7/992 - Release > Date: 06/09/2007 08:36 > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
