From: peter.penzov <peter.penzov@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: PGConnection (LargeObject) / JNDI Tomcat Issue
Date: Mon, 2 May 2016 11:55:04 -0700 (MST)
Message-ID: <1462215304379-5901537.post@n5.nabble.com> (raw)
In-Reply-To: <769443163@web.de>
References: <768569414@web.de>
<769443163@web.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: peter.penzov@gmail.com
Subject: Re: PGConnection (LargeObject) / JNDI Tomcat Issue
In-Reply-To: <1462215304379-5901537.post@n5.nabble.com>
References: <768569414@web.de> <769443163@web.de> <1462215304379-5901537.post@n5.nabble.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox