Source: https://seerepo.com/compare/abel533/Mapper/vs/alibaba/druid
Markdown source: https://seerepo.com/compare/abel533/Mapper/vs/alibaba/druid.md
Description: Mapper and druid share 4 technologies: Spring, mybatis, mybatis-spring, and org.slf4j:slf4j-api. Both are written in Java.

# Mapper vs druid

Mapper and druid share 4 technologies: Spring, mybatis, mybatis-spring, and org.slf4j:slf4j-api. Both are written in Java.

- [abel533/Mapper](https://seerepo.com/r/abel533/Mapper): Mybatis Common Mapper - Easy to use
- [alibaba/druid](https://seerepo.com/r/alibaba/druid): 阿里云计算平台DataWorks(https://help.aliyun.com/document_detail/137663.html) 团队出品，为监控而生的数据库连接池

## What they share and what sets them apart

- In common: Spring, mybatis, mybatis-spring, org.slf4j:slf4j-api
- Only in Mapper: org.springframework.boot:spring-boot-starter-jdbc, jakarta.persistence:jakarta.persistence-api, org.freemarker:freemarker, logback-classic
- Only in druid: cache-api, com.mysql:mysql-connector-j, DmJdbcDriver18, druid, druid-spring-boot-starter, ehcache, H2 Database, kylin-jdbc, ojdbc8, org.springframework:spring-jdbc, PostgreSQL, simple-jndi, spring-boot-starter-cache, Trino, com.aliyun.odps:odps-sdk-udf, javax.transaction:jta, net.sourceforge.jtds:jtds, org.apache.curator:curator-recipes, Postgres, com.github.housepower:clickhouse-native-jdbc-shaded, com.oceanbase:oceanbase-client, MySQL, ru.yandex.clickhouse:clickhouse-jdbc, dubbo, spring-boot-starter-thymeleaf, spring-cloud-dependencies, spring-cloud-starter-alibaba-nacos-discovery, javax.servlet:javax.servlet-api, jakarta.servlet:jakarta.servlet-api, Bootstrap, Font Awesome, spring-ibatis, org.springframework.boot:spring-boot-starter-data-jpa, Hibernate, org.springframework.boot:spring-boot-starter-validation, log4j-core, org.springframework.boot:spring-boot-starter-actuator, slf4j-log4j12, spring-cloud-starter-consul-discovery, spring-cloud-starter-netflix-eureka-client, commons-logging:commons-logging, Apache, io.kubernetes:client-java, log4j:log4j

## Side by side

| | Mapper | druid |
|---|---|---|
| Size | 38,174 lines written, 176 code files | 597,803 lines written, 1,697 code files |
| Who writes it | 0.3% of its commits signed by AI. With GitHub Copilot | 0.6% of its commits signed by AI. With Claude Code and Qwen Code |
| Activity | Last push July 15, 2026, 786 commits, 7,353 stars | Last push August 1, 2026, 6,240 commits, 28,140 stars |
| Tests | 213 test files. 30.1% of its code files have a test that imports them | 3,613 test files. 34.8% 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, Mapper or druid?

druid, with 597,803 lines written; Mapper has 38,174.

The proof: [alibaba/druid's code at commit fa8dc99](https://github.com/alibaba/druid/tree/fa8dc9912637a2f729eef9f55356621fec18d40e)

### Which has more GitHub stars, Mapper or druid?

druid, with 28,140 stars; Mapper has 7,353.

The proof: [alibaba/druid on GitHub](https://github.com/alibaba/druid)

### Which has more tests, Mapper or druid?

druid, with 3,613 test files; Mapper has 213.

The proof: [alibaba/druid's code at commit fa8dc99](https://github.com/alibaba/druid/tree/fa8dc9912637a2f729eef9f55356621fec18d40e)

### Which was updated more recently, Mapper or druid?

druid: its last push was on August 1, 2026, and Mapper's on July 15, 2026.

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

### Which has more commits signed by AI, Mapper or druid?

druid: an AI signed 0.6% of its commits, with Claude Code and Qwen Code; in Mapper, 0.3%.

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

## Sources

- abel533/Mapper: Read on November 19, 2026, at commit 1978fac (https://github.com/abel533/Mapper/tree/1978fac567760399eb5dbadd46291be920aa13eb)
- alibaba/druid: Read on November 20, 2026, at commit fa8dc99 (https://github.com/alibaba/druid/tree/fa8dc9912637a2f729eef9f55356621fec18d40e)

## 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.
