{"record":{"id":"5fb45d4b2fea3564","repo":"apache/shardingsphere","slug":"updateobject","errorCode":null,"errorMessage":"updateObject","messagePattern":"updateObject","errorType":"exception","errorClass":"SQLFeatureNotSupportedException","httpStatus":null,"severity":"error","filePath":"kernel/sql-federation/core/src/main/java/org/apache/shardingsphere/sqlfederation/resultset/AbstractUnsupportedUpdateOperationSQLFederationResultSet.java","lineNumber":304,"sourceCode":"    \n    @Override\n    public final void updateNCharacterStream(final String columnLabel, final Reader x) throws SQLException {\n        throw new SQLFeatureNotSupportedException(\"updateNCharacterStream\");\n    }\n    \n    @Override\n    public final void updateNCharacterStream(final int columnIndex, final Reader x, final long length) throws SQLException {\n        throw new SQLFeatureNotSupportedException(\"updateNCharacterStream\");\n    }\n    \n    @Override\n    public final void updateNCharacterStream(final String columnLabel, final Reader x, final long length) throws SQLException {\n        throw new SQLFeatureNotSupportedException(\"updateNCharacterStream\");\n    }\n    \n    @Override\n    public final void updateObject(final int columnIndex, final Object x) throws SQLException {\n        throw new SQLFeatureNotSupportedException(\"updateObject\");\n    }\n    \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","sourceCodeStart":286,"sourceCodeEnd":322,"githubUrl":"https://github.com/apache/shardingsphere/blob/e952770a215630a3659c75d64369168cd3e26b82/kernel/sql-federation/core/src/main/java/org/apache/shardingsphere/sqlfederation/resultset/AbstractUnsupportedUpdateOperationSQLFederationResultSet.java#L286-L322","documentation":"Error \"updateObject\" thrown in apache/shardingsphere.","triggerScenarios":"An application invokes an updater method on a read-only SQL federation result set.","commonSituations":"ORM or legacy code using updatable ResultSet semantics against SQL federation queries.","solutions":["Do not call updateObject on a SQL federation result set; it is read-only.","Materialize the rows, update them locally, and write changes back with a separate 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"}