Re: PGConnection (LargeObject) / JNDI Tomcat Issue
От | Dave Cramer |
---|---|
Тема | Re: PGConnection (LargeObject) / JNDI Tomcat Issue |
Дата | |
Msg-id | CADK3HH+ExjtLYN-HmiJC_b_dm+8pB_4XvEaMvdqgGosGqOJzPw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: PGConnection (LargeObject) / JNDI Tomcat Issue ("peter.penzov" <peter.penzov@gmail.com>) |
Список | pgsql-jdbc |
I would suggest you use the latest driver to start with
On 2 May 2016 at 14:55, peter.penzov <peter.penzov@gmail.com> wrote:
I have the same issue. I tried to use PGConnection pgCon
=(PGConnection)((DelegatingConnection)conn).getInnermostDelegate();
But I get
Caused by: java.lang.ClassCastException:
org.apache.tomcat.dbcp.dbcp2.PoolingDataSource$PoolGuardConnectionWrapper
cannot be cast to org.apache.commons.dbcp.DelegatingConnection
I use 9.2-1002.jdbc4 and Tomcat 8.
Can you propose some solution?
--
View this message in context: http://postgresql.nabble.com/PGConnection-LargeObject-JNDI-Tomcat-Issue-tp2169889p5901537.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
В списке pgsql-jdbc по дате отправления: