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.