{"record":{"id":"0e524a1bd9f63242","repo":"prestodb/presto","slug":"getsqlxml","errorCode":null,"errorMessage":"getSQLXML","messagePattern":"getSQLXML","errorType":"exception","errorClass":"SQLFeatureNotSupportedException","httpStatus":null,"severity":"error","filePath":"presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoResultSet.java","lineNumber":1370,"sourceCode":"    @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)\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)","sourceCodeStart":1352,"sourceCodeEnd":1388,"githubUrl":"https://github.com/prestodb/presto/blob/55bb57d202de3b926896fa966c2c4a44c779634e/presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoResultSet.java#L1352-L1388","documentation":"PrestoResultSet has no SQLXML support: getSQLXML is a stub that unconditionally throws SQLFeatureNotSupportedException, echoing the method name. Calling it to fetch an XML-typed column is the trigger; the driver never produces this error on its own.","triggerScenarios":"Thrown at presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoResultSet.java:1370 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Read XML data as a String with getString and parse it in application code","Use VARCHAR-typed columns for XML content instead of SQLXML mappings","Avoid SQLXML APIs with the Presto JDBC 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"}