{"record":{"id":"8bb5dfd03403ee2a","repo":"prestodb/presto","slug":"getnclob","errorCode":null,"errorMessage":"getNClob","messagePattern":"getNClob","errorType":"exception","errorClass":"SQLFeatureNotSupportedException","httpStatus":null,"severity":"error","filePath":"presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoResultSet.java","lineNumber":1356,"sourceCode":"    @Override\n    public void updateNClob(int columnIndex, NClob nClob)\n            throws SQLException\n    {\n        throw new SQLFeatureNotSupportedException(\"updateNClob\");\n    }\n\n    @Override\n    public void updateNClob(String columnLabel, NClob nClob)\n            throws SQLException\n    {\n        throw new SQLFeatureNotSupportedException(\"updateNClob\");\n    }\n\n    @Override\n    public NClob getNClob(int columnIndex)\n            throws SQLException\n    {\n        throw new SQLFeatureNotSupportedException(\"getNClob\");\n    }\n\n    @Override\n    public NClob getNClob(String columnLabel)\n            throws SQLException\n    {\n        throw new SQLFeatureNotSupportedException(\"getNClob\");\n    }\n\n    @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)","sourceCodeStart":1338,"sourceCodeEnd":1374,"githubUrl":"https://github.com/prestodb/presto/blob/55bb57d202de3b926896fa966c2c4a44c779634e/presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoResultSet.java#L1338-L1374","documentation":"Sentinel accessor in PrestoResultSet: getNClob always throws SQLFeatureNotSupportedException with the method name as the message because national-character Lob reads are not implemented by the Presto JDBC driver.","triggerScenarios":"Thrown at presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoResultSet.java:1356 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Read the column as a String via getString instead of getNClob","Cast/convert in application code if NClob-like semantics are required","Avoid NClob getters when using Presto result sets"],"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"}