Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 879AE9FB31E for ; Thu, 2 Aug 2007 05:44:10 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 64596-08 for ; Thu, 2 Aug 2007 05:44:03 -0300 (ADT) X-Greylist: delayed 00:59:58.986688 by SQLgrey-1.7.5 Received: from conscius.com (helloworld.conscius.com [62.243.211.122]) by postgresql.org (Postfix) with ESMTP id 2F11B9FB249 for ; Thu, 2 Aug 2007 05:44:05 -0300 (ADT) Received: by conscius.com (CommuniGate Pro PIPE 4.2.10) with PIPE id 1429746; Thu, 02 Aug 2007 09:45:20 +0200 Received: from [192.168.1.5] (account dth HELO [192.168.5.251]) by conscius.com (CommuniGate Pro SMTP 4.2.10) with ESMTP id 1429744 for pgsql-jdbc@postgresql.org; Thu, 02 Aug 2007 09:45:18 +0200 Message-ID: <46B18B42.2020709@conscius.com> X-ProcessedID: 46B18B42.2020709@conscius.com Date: Thu, 02 Aug 2007 09:44:02 +0200 From: =?ISO-8859-1?Q?Dennis_Thrys=F8e?= User-Agent: Thunderbird 2.0.0.5 (Macintosh/20070716) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: LargeObject API Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200708/8 X-Sequence-Number: 17321 Hello, Is there any way to use the proprietary LargeObject API, without actually having a reference to the postgresql Drivers's Connection object? I need to store (potentially) large chunks of data, so as I read the documentation I need to use the oid type for performance reasons. However, if the application is executing within a j2ee server with connection pooling, the given Connection instance is just a proxy for the actual one. Otherwise I could possibly use PreparedStatement.setBlob(), but how could I create a Blob instance? I'm not on the mailing list (yet). -dennis --------------------------------------------------------------------------- The information in this email is confidential and may be legally protected.