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-general(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:31:56
Message-ID: CANj+m=i1OiG4U3+bkBueBD1aC7M3PxbdsFMqUL8kV5db6jo1qQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rob Sargent 2014-04-11 21:39:54 Re: Is it possible to load two different versions of the JDBC driver in the same application?
Previous Message Moshe Jacobson 2014-04-11 21:02:15 Re: Database Design: Maintain Audit Trail of Changes