{"record":{"id":"e7cf6248f66f6439","repo":"prestodb/presto","slug":"updatesqlxml","errorCode":null,"errorMessage":"updateSQLXML","messagePattern":"updateSQLXML","errorType":"exception","errorClass":"SQLFeatureNotSupportedException","httpStatus":null,"severity":"error","filePath":"presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoResultSet.java","lineNumber":1384,"sourceCode":"    @Override\n    public SQLXML getSQLXML(int columnIndex)\n            throws SQLException\n    {\n        throw new SQLFeatureNotSupportedException(\"getSQLXML\");\n    }\n\n    @Override\n    public SQLXML getSQLXML(String columnLabel)\n            throws SQLException\n    {\n        throw new SQLFeatureNotSupportedException(\"getSQLXML\");\n    }\n\n    @Override\n    public void updateSQLXML(int columnIndex, SQLXML xmlObject)\n            throws SQLException\n    {\n        throw new SQLFeatureNotSupportedException(\"updateSQLXML\");\n    }\n\n    @Override\n    public void updateSQLXML(String columnLabel, SQLXML xmlObject)\n            throws SQLException\n    {\n        throw new SQLFeatureNotSupportedException(\"updateSQLXML\");\n    }\n\n    @Override\n    public String getNString(int columnIndex)\n            throws SQLException\n    {\n        throw new SQLFeatureNotSupportedException(\"getNString\");\n    }\n\n    @Override\n    public String getNString(String columnLabel)","sourceCodeStart":1366,"sourceCodeEnd":1402,"githubUrl":"https://github.com/prestodb/presto/blob/55bb57d202de3b926896fa966c2c4a44c779634e/presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoResultSet.java#L1366-L1402","documentation":"updateSQLXML in PrestoResultSet always throws SQLFeatureNotSupportedException: XML values cannot be updated through the current row because Presto result sets are read-only and SQLXML is unimplemented.","triggerScenarios":"Thrown at presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoResultSet.java:1384 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Update XML columns via SQL UPDATE statements","Write XML as a VARCHAR string using a PreparedStatement instead","Keep Presto result set usage read-only"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"55bb57d202de3b926896fa966c2c4a44c779634e","analyzedAt":"2026-09-04T12:50:26.162Z","contentChangedAt":"2026-09-04T12:50:26.162Z","schemaVersion":2},"datasetVersion":"2026-09-11T21:17:09.523Z"}