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

Поиск
Список
Период
Сортировка
От Tecno Brain
Тема Is it possible to load two different versions of the JDBC driver in the same application?
Дата
Msg-id CANj+m=i1OiG4U3+bkBueBD1aC7M3PxbdsFMqUL8kV5db6jo1qQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Is it possible to load two different versions of the JDBC driver in the same application?
Список 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 по дате отправления:

Предыдущее
От: Moshe Jacobson
Дата:
Сообщение: Re: Database Design: Maintain Audit Trail of Changes
Следующее
От: Rob Sargent
Дата:
Сообщение: Re: Is it possible to load two different versions of the JDBC driver in the same application?