{"record":{"id":"c4813b3b4b1ab8e8","repo":"prestodb/presto","slug":"updateclob","errorCode":null,"errorMessage":"updateClob","messagePattern":"updateClob","errorType":"exception","errorClass":"SQLFeatureNotSupportedException","httpStatus":null,"severity":"error","filePath":"presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoResultSet.java","lineNumber":1257,"sourceCode":"    @Override\n    public void updateBlob(int columnIndex, Blob x)\n            throws SQLException\n    {\n        throw new SQLFeatureNotSupportedException(\"updateBlob\");\n    }\n\n    @Override\n    public void updateBlob(String columnLabel, Blob x)\n            throws SQLException\n    {\n        throw new SQLFeatureNotSupportedException(\"updateBlob\");\n    }\n\n    @Override\n    public void updateClob(int columnIndex, Clob x)\n            throws SQLException\n    {\n        throw new SQLFeatureNotSupportedException(\"updateClob\");\n    }\n\n    @Override\n    public void updateClob(String columnLabel, Clob x)\n            throws SQLException\n    {\n        throw new SQLFeatureNotSupportedException(\"updateClob\");\n    }\n\n    @Override\n    public void updateArray(int columnIndex, Array x)\n            throws SQLException\n    {\n        throw new SQLFeatureNotSupportedException(\"updateArray\");\n    }\n\n    @Override\n    public void updateArray(String columnLabel, Array x)","sourceCodeStart":1239,"sourceCodeEnd":1275,"githubUrl":"https://github.com/prestodb/presto/blob/55bb57d202de3b926896fa966c2c4a44c779634e/presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoResultSet.java#L1239-L1275","documentation":"updateClob in PrestoResultSet always throws SQLFeatureNotSupportedException: result sets produced by Presto are read-only and java.sql.Clob handles are not supported, so in-place Clob updates cannot be performed.","triggerScenarios":"Thrown at presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoResultSet.java:1257 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Issue an UPDATE statement via Statement/PreparedStatement instead of updating through the result set","Fetch Clob content as a String with getString and manage updates in application code","Do not request updatable result set semantics from the Presto driver"],"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"}