apache/shardingsphere · error · SQLFeatureNotSupportedException
updateBlob
Error message
updateBlob
What it means
Error "updateBlob" thrown in apache/shardingsphere.
Source
Thrown at kernel/sql-federation/core/src/main/java/org/apache/shardingsphere/sqlfederation/resultset/AbstractUnsupportedUpdateOperationSQLFederationResultSet.java:334
@Override
public final void updateObject(final String columnLabel, final Object x, final int scaleOrLength) throws SQLException {
throw new SQLFeatureNotSupportedException("updateObject");
}
@Override
public final void updateRef(final int columnIndex, final Ref x) throws SQLException {
throw new SQLFeatureNotSupportedException("updateRef");
}
@Override
public final void updateRef(final String columnLabel, final Ref x) throws SQLException {
throw new SQLFeatureNotSupportedException("updateRef");
}
@Override
public final void updateBlob(final int columnIndex, final Blob x) throws SQLException {
throw new SQLFeatureNotSupportedException("updateBlob");
}
@Override
public final void updateBlob(final String columnLabel, final Blob x) throws SQLException {
throw new SQLFeatureNotSupportedException("updateBlob");
}
@Override
public final void updateBlob(final int columnIndex, final InputStream inputStream) throws SQLException {
throw new SQLFeatureNotSupportedException("updateBlob");
}
@Override
public final void updateBlob(final String columnLabel, final InputStream inputStream) throws SQLException {
throw new SQLFeatureNotSupportedException("updateBlob");
}
@OverrideView on GitHub (pinned to e952770a21)
Solutions
- updateBlob is not supported on SQL federation result sets; avoid calling it.
- Update the BLOB column with a standard UPDATE statement instead.
When it happens
Trigger: updateBlob is invoked on a read-only SQL federation result set.
Common situations: Code using updatable ResultSet BLOB handling against federated query results.
AI-assisted analysis of apache/shardingsphere@e952770a21 (2026-08-14).
Data as JSON: /api/errors/bb7253e5212bb0f3.
Report an issue: GitHub.