Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 18248 invoked from network); 23 Oct 2009 22:27:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Oct 2009 22:27:53 -0000 Received: (qmail 96271 invoked by uid 500); 23 Oct 2009 22:27:52 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 96250 invoked by uid 500); 23 Oct 2009 22:27:52 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 96242 invoked by uid 99); 23 Oct 2009 22:27:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 22:27:52 +0000 X-ASF-Spam-Status: No, hits=-0.3 required=5.0 tests=BAYES_00,FORGED_YAHOO_RCVD X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2009 22:27:49 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1N1SbZ-0005xL-2G for user-java@ibatis.apache.org; Fri, 23 Oct 2009 15:27:29 -0700 Message-ID: <26034114.post@talk.nabble.com> Date: Fri, 23 Oct 2009 15:27:29 -0700 (PDT) From: kkch To: user-java@ibatis.apache.org Subject: Using Oracle XMLType in iBATIS Java MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: krishnack77@yahoo.com I'm trying to create the XMLType Object using Oracle and i tried to pass the java.sql.Connection but its failing with the proxy error and also i tried to typecast with OracleConnection and it didn't work. Did anyone worked on it using the simple SQL-MAP Configuarion. oracle.xdb.XMLType oracleXMLType = XMLType.createXML(conn, strXMLData); However if i try to use the new connection like below it works. DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@server:portnum:dbname", "userName", "pwd"); Anyone kind of help would be kindly appreciated. Thanks -- View this message in context: http://www.nabble.com/Using-Oracle-XMLType-in-iBATIS-Java-tp26034114p26034114.html Sent from the iBATIS - User - Java mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org For additional commands, e-mail: user-java-help@ibatis.apache.org