Hi,
I'm having trouble of inserting an SQLXML in my Postgresql 8.4 database :
java.lang.ClassCastException: org.postgresql.jdbc4.Jdbc4SQLXML cannot be cast to [B
at org.postgresql.jdbc2.AbstractJdbc2ResultSet.updateRowBuffer(AbstractJdbc2ResultSet.java:1729)
at org.postgresql.jdbc2.AbstractJdbc2ResultSet.updateRow(AbstractJdbc2ResultSet.java:1291)
when i use that :
SQLXML sqlxml = con.createSQLXML();
DOMResult domResult=sqlxml.setResult(DOMResult.class)
domResult.setNode(xmldocumentDOM);
stmt.setSQLXML(1, sqlxml);
stmt.execute();
Do you have an idea, why ?
Thank you very much for your futur help :)