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 2635C3A4DE3 for ; Fri, 7 Jan 2005 02:25:27 +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 26565-08 for ; Fri, 7 Jan 2005 02:24:51 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.229.2]) by svr1.postgresql.org (Postfix) with ESMTP id 3BD543A4DBB for ; Fri, 7 Jan 2005 02:21:56 +0000 (GMT) Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Cmjl3-0007gV-00 for ; Fri, 07 Jan 2005 03:21:45 +0100 Received: from p5484bde7.dip.t-dialin.net ([84.132.189.231]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Jan 2005 03:21:45 +0100 Received: from skoehler by p5484bde7.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Jan 2005 03:21:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: =?ISO-8859-15?Q?Sven_K=F6hler?= Subject: BLOBs etc Date: Fri, 07 Jan 2005 03:17:06 +0100 Lines: 19 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p5484bde7.dip.t-dialin.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a4) Gecko/20040927 X-Accept-Language: de, en X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200501/30 X-Sequence-Number: 11910 Hi, on the jdbc-webpages it says, that the JDBC team may decide to change getBLOBG/setBLOB to support bytea only, and that one should use the PostGreSQL specific LargeObject extension to acces them. 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. So the LargeObject extension cannot be used anymore like suggested on the page http://www.postgresql.org/docs/7.4/static/jdbc-binary-data.html Is there any kind of support for storing data in oid-columns which will work with ConnectionPool implementations? Thx Sven