Skip to content

Request: Add support for KingbaseES #1214

Open

Description

@zz97523

Describe the request

I would like to propose adding support for KingbaseES (a widely used database in the Chinese market) to the RepoDB ecosystem. KingbaseES is highly compatible with PostgreSQL and MySQL at the protocol and syntax levels (including JSON operations and transaction isolation), which makes it a great candidate for a dedicated RepoDB provider.

Describe your wish

I am planning to develop and contribute a new provider, RepoDb.KingbaseES, within the next 2 months.

The implementation will include:

  • A dedicated DbSetting and StatementBuilder for KingbaseES.
  • Support for Kingbase-specific data types and identity columns.
  • Full integration tests following the patterns of existing providers (like RepoDb.PostgreSQL).

My goal is to provide a seamless experience for developers using RepoDB with KingbaseES without modifying the core library logic.

Do you have an alternative?

Currently, one could potentially use the RepoDb.PostgreSQL provider due to the high compatibility, but it may lead to issues with specific metadata handling or optimizations unique to KingbaseES. A dedicated provider is the best way to ensure stability and proper identification within the library.

Additional Context

I am committed to maintaining high code quality:

  • Zero-intrusion: No changes to the core RepoDB logic.
  • Testing: I will refer to the existing test suites and ensure all tests pass in KingbaseES's compatibility modes.
  • Documentation: I will provide the necessary documentation updates.

Please let me know if the community is open to this contribution and if there are any specific architectural requirements I should follow.

Activity

  1. added
    request
    on Apr 22, 2026
  2. rhuijben commented on Apr 22, 2026

    @rhuijben
    Collaborator

    This original fork is not that active anymore. I forked to https://github.com/ampscm/repodb/ and since then added a Oracle provider. Maybe you should check where you want to integrate.

    I assume that if you have things working on one variant, things should reasonably easy also work on the other. (Perhaps some minor details need correction. The AmpScm version handles multi-column primary keys more accurate than this original version)

  3. mikependon commented on Jul 15, 2026

    @mikependon
    Owner

    @zz97523 are you still up for this? I would like to spark a discussion.

  4. mikependon commented on Aug 8, 2026

    @mikependon
    Owner

    @zz97523 I can support KingbaseES easily. Will you be able to support me testing and validating it?

  5. added a commit that references this issue on Aug 9, 2026
  6. added
    todo
    priority
    capability
    on Aug 12, 2026
  7. mikependon commented on Aug 12, 2026

    @mikependon
    Owner

    I made a typo for referencing my check-in from IBM DB2 support. Ignore the above.

  8. mikependon commented on Sep 24, 2026

    @mikependon
    Owner

    Hi @zz97523, I am sson supporting KingbaseES. I am looking for a Chinese contributor that could be a partner to maintain RepoDB for KingbaseES. I personally am prefer to have somebody from China itself to co-author with me the RepoDb.KingbaseES Nuget package. Do you know somebody that can help us with this? I know channels and eco-system to start with, but glad to connect directly to the actual contributor and maintainer. Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

capabilitypriorityrequesttodo

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions