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()
  • ReultSet.updateObject()

The driver does not apply any data conversions when sending XML data to the database server.