{"record":{"id":"fefb8a730d90118b","repo":"apache/shardingsphere","slug":"updateref","errorCode":null,"errorMessage":"updateRef","messagePattern":"updateRef","errorType":"exception","errorClass":"SQLFeatureNotSupportedException","httpStatus":null,"severity":"error","filePath":"kernel/sql-federation/core/src/main/java/org/apache/shardingsphere/sqlfederation/resultset/AbstractUnsupportedUpdateOperationSQLFederationResultSet.java","lineNumber":324,"sourceCode":"    \n    @Override\n    public final void updateObject(final String columnLabel, final Object x) throws SQLException {\n        throw new SQLFeatureNotSupportedException(\"updateObject\");\n    }\n    \n    @Override\n    public final void updateObject(final int columnIndex, final Object x, final int scaleOrLength) throws SQLException {\n        throw new SQLFeatureNotSupportedException(\"updateObject\");\n    }\n    \n    @Override\n    public final void updateObject(final String columnLabel, final Object x, final int scaleOrLength) throws SQLException {\n        throw new SQLFeatureNotSupportedException(\"updateObject\");\n    }\n    \n    @Override\n    public final void updateRef(final int columnIndex, final Ref x) throws SQLException {\n        throw new SQLFeatureNotSupportedException(\"updateRef\");\n    }\n    \n    @Override\n    public final void updateRef(final String columnLabel, final Ref x) throws SQLException {\n        throw new SQLFeatureNotSupportedException(\"updateRef\");\n    }\n    \n    @Override\n    public final void updateBlob(final int columnIndex, final Blob x) throws SQLException {\n        throw new SQLFeatureNotSupportedException(\"updateBlob\");\n    }\n    \n    @Override\n    public final void updateBlob(final String columnLabel, final Blob x) throws SQLException {\n        throw new SQLFeatureNotSupportedException(\"updateBlob\");\n    }\n    \n    @Override","sourceCodeStart":306,"sourceCodeEnd":342,"githubUrl":"https://github.com/apache/shardingsphere/blob/e952770a215630a3659c75d64369168cd3e26b82/kernel/sql-federation/core/src/main/java/org/apache/shardingsphere/sqlfederation/resultset/AbstractUnsupportedUpdateOperationSQLFederationResultSet.java#L306-L342","documentation":"Error \"updateRef\" thrown in apache/shardingsphere.","triggerScenarios":"updateRef is invoked on a read-only SQL federation result set.","commonSituations":"Updatable-result-set code paths executed against federated query results.","solutions":["updateRef is not supported on SQL federation result sets; avoid calling it.","Rewrite the logic to update through a regular DML statement."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e952770a215630a3659c75d64369168cd3e26b82","analyzedAt":"2026-08-14T13:54:53.392Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}