X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id F0E193A43D3 for ; Fri, 7 Jan 2005 02:40:56 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 31054-01 for ; Fri, 7 Jan 2005 02:40:43 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id BA06F3A4D87 for ; Fri, 7 Jan 2005 02:40:45 +0000 (GMT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1Cmk3A-0003bI-00; Fri, 07 Jan 2005 15:40:28 +1300 Message-ID: <41DDF699.8080602@opencloud.com> Date: Fri, 07 Jan 2005 15:40:25 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0 (X11/20041228) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-15?Q?Sven_K=F6hler?= Cc: pgsql-jdbc@postgresql.org Subject: Re: BLOBs etc References: In-Reply-To: X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.002 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/31 X-Sequence-Number: 11911 Sven Köhler wrote: > Well, how should one be abled to use the LargeObjects extension, when > ConnectionPools are used? The Connection object supplied by the > ConnectionPool implementation is usually not the one supplied by the > JDBC driver and therefor the object cannot be casted to PGConnection > anymore. If your connection pool manager uses the driver's ConnectionPoolDataSource implementation this shouldn't be a problem as the proxy connections also implement PGconnection. -O