Skip to content

Remove support for DerbyNetworkServer and EmbeddedDerby#37718

Merged
sandynz merged 1 commit intoapache:masterfrom
linghengqian:rm-db
Jan 13, 2026
Merged

Remove support for DerbyNetworkServer and EmbeddedDerby#37718
sandynz merged 1 commit intoapache:masterfrom
linghengqian:rm-db

Conversation

@linghengqian
Copy link
Member

@linghengqian linghengqian commented Jan 12, 2026

Fixes #37500 .

Changes proposed in this pull request:

  • Remove support for DerbyNetworkServer and EmbeddedDerby .
  • Remove related GraalVM Reachability metadata .

Before committing this PR, I'm sure that I have checked the following options:

  • My code follows the code of conduct of this project.
  • I have self-reviewed the commit code.
  • I have (or in comment I request) added corresponding labels for the pull request.
  • I have passed maven check locally : ./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e.
  • I have made corresponding changes to the documentation.
  • I have added corresponding unit tests for my changes.
  • I have updated the Release Notes of the current development version. For more details, see Update Release Note

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes support for Derby databases (both DerbyNetworkServer and EmbeddedDerby) from the ShardingSphere standalone JDBC repository provider, as requested in issue #37500. The removal is clean and comprehensive.

Changes:

  • Removed test assertions for DerbyNetworkServer and EmbeddedDerby from JDBCRepositorySQLLoaderTest
  • Deleted SQL configuration files for both Derby variants (EmbeddedDerby.xml and DerbyNetworkServer.xml)
  • Removed GraalVM native-image reachability metadata entries for the deleted Derby configuration files
  • Updated both English and Chinese documentation to remove Derby-related configuration examples and provider options

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
mode/type/standalone/repository/provider/jdbc/src/test/java/.../JDBCRepositorySQLLoaderTest.java Removed test assertions for EmbeddedDerby and DerbyNetworkServer
mode/type/standalone/repository/provider/jdbc/src/main/resources/sql/EmbeddedDerby.xml Deleted Derby embedded database SQL configuration
mode/type/standalone/repository/provider/jdbc/src/main/resources/sql/DerbyNetworkServer.xml Deleted Derby network server SQL configuration
infra/reachability-metadata/.../reachability-metadata.json Removed GraalVM metadata entries for Derby XML files
docs/document/content/user-manual/common-config/builtin-algorithm/metadata-repository.en.md Updated English documentation to remove Derby references and examples
docs/document/content/user-manual/common-config/builtin-algorithm/metadata-repository.cn.md Updated Chinese documentation to remove Derby references and examples

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sandynz sandynz merged commit e3938e4 into apache:master Jan 13, 2026
156 of 157 checks passed
@linghengqian linghengqian deleted the rm-db branch January 13, 2026 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove support for org.apache.derby.jdbc.ClientDriver and org.apache.derby.jdbc.EmbeddedDriver from JDBCRepository

3 participants