Source: https://seerepo.com/compare/apache/shardingsphere/vs/mybatis/mybatis-3
Markdown source: https://seerepo.com/compare/apache/shardingsphere/vs/mybatis/mybatis-3.md
Description: shardingsphere and mybatis-3 share 8 technologies: com.mysql:mysql-connector-j, H2 Database, mssql-jdbc, PostgreSQL, Postgres, MySQL, ch.qos.logback:logback-classic, and org.slf4j:slf4j-api. Both are written in Java.

# shardingsphere vs mybatis-3

shardingsphere and mybatis-3 share 8 technologies: com.mysql:mysql-connector-j, H2 Database, mssql-jdbc, PostgreSQL, Postgres, MySQL, ch.qos.logback:logback-classic, and org.slf4j:slf4j-api. Both are written in Java.

- [apache/shardingsphere](https://seerepo.com/r/apache/shardingsphere): Empowering Data Intelligence with Distributed SQL for Sharding, Scalability, and Security Across All Databases.
- [mybatis/mybatis-3](https://seerepo.com/r/mybatis/mybatis-3): MyBatis SQL mapper framework for Java

## What they share and what sets them apart

- In common: com.mysql:mysql-connector-j, H2 Database, mssql-jdbc, PostgreSQL, Postgres, MySQL, ch.qos.logback:logback-classic, org.slf4j:slf4j-api
- Only in shardingsphere: ClickHouse, curator-recipes, jakarta.jms-api, jedis, MariaDB, org.apache.commons:commons-pool2, com.github.ben-manes.caffeine:caffeine, Redis, etcd, org.apache.zookeeper:zookeeper, com.zaxxer:HikariCP, JetBrains, polyglot, tomcat-embed-core, jakarta.persistence-api, org.apache.commons:commons-csv, org.freemarker:freemarker, jakarta.validation-api, commons-logging, io.opentelemetry:opentelemetry-exporter-otlp, jul-to-slf4j, Prometheus, OpenTelemetry, io.opentelemetry:opentelemetry-sdk
- Only in mybatis-3: org.apache.velocity:velocity-engine-core, log4j-core, Apache, commons-logging:commons-logging

## Side by side

| | shardingsphere | mybatis-3 |
|---|---|---|
| Size | 841,860 lines written, 5,280 code files | 115,540 lines written, 393 code files |
| Who writes it | 0.1% of its commits signed by AI. With Claude Code and GitHub Copilot | 0.1% of its commits signed by AI. With GitHub Copilot |
| Activity | Last push November 5, 2026, 47,227 commits, 20,817 stars | Last push November 5, 2026, 4,425 commits, 20,435 stars |
| Tests | 4,621 test files. 75.3% of its code files have a test that imports them | 1,003 test files. 70.2% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, shardingsphere or mybatis-3?

shardingsphere, with 841,860 lines written; mybatis-3 has 115,540.

The proof: [apache/shardingsphere's code at commit a6dfa0c](https://github.com/apache/shardingsphere/tree/a6dfa0c1f63a79ac2b4c81289139ff15c8d902fa)

### Which has more GitHub stars, shardingsphere or mybatis-3?

shardingsphere, with 20,817 stars; mybatis-3 has 20,435.

The proof: [apache/shardingsphere on GitHub](https://github.com/apache/shardingsphere)

### Which has more tests, shardingsphere or mybatis-3?

shardingsphere, with 4,621 test files; mybatis-3 has 1,003.

The proof: [apache/shardingsphere's code at commit a6dfa0c](https://github.com/apache/shardingsphere/tree/a6dfa0c1f63a79ac2b4c81289139ff15c8d902fa)

### Which was updated more recently, shardingsphere or mybatis-3?

Both got their last push on November 5, 2026.

The proof: [apache/shardingsphere's commits on GitHub](https://github.com/apache/shardingsphere/commits)

### Which has more commits signed by AI, shardingsphere or mybatis-3?

In both, an AI signed 0.1% of their commits.

The proof: [the commits each tool signed in apache/shardingsphere](https://seerepo.com/r/apache/shardingsphere/ai)

## Sources

- apache/shardingsphere: Read on November 5, 2026, at commit a6dfa0c (https://github.com/apache/shardingsphere/tree/a6dfa0c1f63a79ac2b4c81289139ff15c8d902fa)
- mybatis/mybatis-3: Read on November 5, 2026, at commit b27fe6a (https://github.com/mybatis/mybatis-3/tree/b27fe6a9949489a4f45a4468dce9d007b7a7f408)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
