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