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: [email protected]
For additional commands, e-mail: [email protected]