This content has been marked as final.
Show 2 replies
-
1. Re: Oracle XD XMLType data type not mapped to setter method
sfcoy Nov 19, 2012 7:13 AM (in response to debasisj)How have you deployed the Oracle JDBC driver?
It looks like you need to set it up as a module and then add a dependency to it as decribed in AS71 Class Loading in AS7.
-
2. Re: Oracle XD XMLType data type not mapped to setter method
debasisj Nov 20, 2012 2:23 AM (in response to sfcoy)It's the problem with Oracle 11g, Oracle 10g does not create any problem.
The problem is getObject of XML Type data in oracle 11g returns oracle.sql.OPAQUE instead of oracle.sql.XMLType and our setter method takes XMLType.
If I test it in a plain environment like Eclipse and my project points to M2_REPO, then getObject of XML Type returns oracle.xdb.XMLType but when I deploy in JBOSS and run the code snippet and it returns oracle.sql.OPAQUE.
oracle-xdb.jar deployed in WEB-INF/lib. What could be the problem.