Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 39D9B9FB9A0 for ; Fri, 22 Jun 2007 03:35:16 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 19641-04 for ; Fri, 22 Jun 2007 03:35:10 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from iplocks.co.jp (iplocks.co.jp [211.19.47.137]) by postgresql.org (Postfix) with SMTP id 85E999FB88B for ; Fri, 22 Jun 2007 03:35:08 -0300 (ADT) Received: (qmail 14738 invoked from network); 22 Jun 2007 15:34:39 +0900 Received: from unknown (HELO EBIHARA) (220.221.255.7) by iplocks.co.jp with SMTP; 22 Jun 2007 15:34:39 +0900 From: "EBIHARA, Yuichiro" To: Subject: Re: standard LOB support Date: Fri, 22 Jun 2007 15:34:58 +0900 Message-ID: <01a901c7b497$7776bc40$4a0aa8c0@ipljp.local> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6822 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Thread-Index: Ace0kQPHXOr5FeJwSgCiJaDn2F9i+wABAyMQ Importance: Normal X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.136 tagged_above=0 required=5 tests=AWL=0.135, BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200706/1299 X-Sequence-Number: 116122 Thomas, Thank you for your comment. > I found that using getBinaryStream(), setBinaryStream(),=20 > getCharacterStream()=20 > and setCharacterStream() to handle LOBs across different DBMS=20 > is much more=20 > portable (and reliably) than using the Clob()/Blob() methods. According to JDBC 3.0 specifiction, those 4 methods may not be = compatible to BLOB/CLOB. Some databases may support them to access LOB data but not all = databases. But my target databases are, actually, only PostgreSQL, Oracle and DB2 = and there is no problem with PostgreSQL. Also, according to the Oracle JDBC driver manual, Oracle supports stream = access to LOB through the 4 methods. I'll also try DB2 soon. Thanks, ebi