ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkch <krishnac...@yahoo.com>
Subject Using Oracle XMLType in iBATIS Java
Date Fri, 23 Oct 2009 22:27:29 GMT

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 =
"userName", "pwd");

Anyone kind of help would be kindly appreciated.

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

View raw message