in java i want to use oracle XMLType.
I add
XMLType type = new XMLType(conn, "<shipTo></shipTo>");
but i always get
Caused by: java.lang.ClassNotFoundException: oracle.xml.parser.v2.XMLParseException
why? i am using xdb6.jar for oracle 11 database. For connection i am using JDBC.
Here’s the excerpt from my POM for doing the same (in JBoss):
i.e. you need the XDB and XMLParserv libraries.