Is it possible to load two different versions of the JDBC driver in the same application? - Mailing list pgsql-general

From Tecno Brain
Subject Is it possible to load two different versions of the JDBC driver in the same application?
Date
Msg-id CANj+m=i1OiG4U3+bkBueBD1aC7M3PxbdsFMqUL8kV5db6jo1qQ@mail.gmail.com
Whole thread Raw
Responses Re: Is it possible to load two different versions of the JDBC driver in the same application?  (Rob Sargent <robjsargent@gmail.com>)
List pgsql-general
I have a Java application that is using Postgres 9.1, and we use the latest 9.1 JDBC driver.
The same Java app requires access now to a Redshift cluster. Amazon recommends to use a Postgres 8 JDBC driver for connecting to Redshift.

Can I load both drivers in the same application ?

I currently use the Apache database connection pool configured through Tomcat's context.xml to load the driver and handle the connection pool.

-Jorge



pgsql-general by date:

Previous
From: Moshe Jacobson
Date:
Subject: Re: Database Design: Maintain Audit Trail of Changes
Next
From: Rob Sargent
Date:
Subject: Re: Is it possible to load two different versions of the JDBC driver in the same application?