Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 22077 invoked from network); 12 Sep 2005 14:03:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Sep 2005 14:03:29 -0000 Received: (qmail 81864 invoked by uid 500); 12 Sep 2005 14:03:23 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 81812 invoked by uid 500); 12 Sep 2005 14:03:22 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 81793 invoked by uid 99); 12 Sep 2005 14:03:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Sep 2005 07:03:22 -0700 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [137.65.81.169] (HELO sinclair.provo.novell.com) (137.65.81.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Sep 2005 07:03:33 -0700 Received: from INET-PRV-MTA by sinclair.provo.novell.com with Novell_GroupWise; Mon, 12 Sep 2005 08:03:20 -0600 Message-Id: <432598B20200003500008861@sinclair.provo.novell.com> X-Mailer: Novell GroupWise Internet Agent 7.0 Date: Mon, 12 Sep 2005 08:03:14 -0600 From: "Willy Reinhardt" To: , Subject: =?ISO-8859-1?Q?R=C3=A9p.=20:=20CLOB=20Insert=20into=20Oracle=20f?= =?ISO-8859-1?Q?rom=20post?= Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 500/1000/N Hi, We had the same problem using Tiny JDBC driver version 9.2.0.5.0 with Oracle 9.2. The problem with CLOB or BLOB is you need a native OracleConnection instead of Connection after looking for solution I found following possibillities: - Use OCI driver -> you need to install the oracle client... - Use an alternative JDBC driver provide by a compagny like datadirect which work fine according JBoss forums; - Get the native OracleConnection from the datasource provide by the Application server this solution couldn't be very safe because if the connection is closed the Application Server will failed and you should use specific API's from the provider of AS. To workaround we create interface and factory to manage Oracle CLOB and BLOB according the application server used. Then we wrote some Cocoon action's to manage XML request with Oracle. Hope this help Regards Willy Reinhardt >>> Andreas.Busch@ilogics.de 12/09/05 14:44 >>> Hi again, almost searching for any hints to insert a XML-Doc coming in via POST into a CLOB - Col in Oracle and process it in the pipeline futher on, SQLTransformer can not insert values larger then (32000) (Oracle Stringsize) The parameter (setBigStringTryClob ) for the JDBC-Driver can not be set in cocoon.xconf (Datasource don't have this parameter) Thanks a Million for any idea Andreas Busch --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org