skip to main content
Using the driver : Returning and inserting/updating XML data : Inserting/updating XML data : Inserting/updating XML as binary data
  

Try DataDirect Drivers Now
Inserting/updating XML as binary data
Your application can use the following methods to insert or update XML data as binary data:
*PreparedStatement.setBytes()
*PreparedStatement.setBinaryStream()
*PreparedStatement.setBlob()
*PreparedStatement.setObject()
*ResultSet.updateBytes()
*ResultSet.updateBinaryStream()
*ResultSet.updateBlob()
*ResultSet.updateObject()
The driver does not apply any data conversions when sending XML data to the database server.