Is it possible to load two different versions of the JDBC driver in the same application?

From: Tecno Brain <cerebrotecnologico(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Is it possible to load two different versions of the JDBC driver in the same application?
Date: 2014-04-11 21:28:32
Message-ID: CANj+m=hkR13h6hRcLbfAfrHi8E7wRVbRM2SSvFGrzAg46foh_Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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.

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

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Steven Schlansker 2014-04-11 21:32:10 Re: Is it possible to load two different versions of the JDBC driver in the same application?
Previous Message Dave Cramer 2014-04-09 10:19:23 Re: Having a hard time understanding time zone