XMLType insert
From: rabbit <zhoudiwen_at_hotmail.com>
Date: 8 Dec 2003 14:32:40 -0800
Message-ID: <6a950fe.0312081432.6182bb82_at_posting.google.com>
}
Date: 8 Dec 2003 14:32:40 -0800
Message-ID: <6a950fe.0312081432.6182bb82_at_posting.google.com>
PreparedStatement pstmt = con.prepareStatement("UPDATE xmltable SET xml_dok = SYS.XMLType.createXML(?) WHERE id = ?"); // I have tried to use SYS.XMLType(?). But i get the same error.
pstmt.setClob(1, rs.getCLOB(2)); pstmt.setInt(2, nr); pstmt.execute(); pstmt.close();
}
I don't know, what's wrong with it? Please help! Must I use the Connection parameter for cretaeXML und XMLType? Some Examples use it, but any not. Which is correct?
Thank you very much and greeting from germany!
rabbit Received on Mon Dec 08 2003 - 23:32:40 CET