{"id":19989049,"url":"https://github.com/icemap/tidb-connector-j","last_synced_at":"2026-06-13T09:32:50.305Z","repository":{"id":119433077,"uuid":"529504286","full_name":"Icemap/tidb-connector-j","owner":"Icemap","description":"TiDB Connector/J is used to connect applications developed in Java to TiDB and MySQL databases. TiDB Connector/J based on MariaDB Connector/J.","archived":false,"fork":false,"pushed_at":"2022-08-27T14:48:40.000Z","size":16373,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-27T15:28:17.930Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Icemap.png","metadata":{"files":{"readme":"README-zh.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-27T06:35:55.000Z","updated_at":"2022-08-27T06:39:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"51890ea6-ebf1-4ee7-a061-4e9e9b7e079c","html_url":"https://github.com/Icemap/tidb-connector-j","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Icemap/tidb-connector-j","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icemap%2Ftidb-connector-j","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icemap%2Ftidb-connector-j/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icemap%2Ftidb-connector-j/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icemap%2Ftidb-connector-j/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Icemap","download_url":"https://codeload.github.com/Icemap/tidb-connector-j/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icemap%2Ftidb-connector-j/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34279898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T04:45:17.661Z","updated_at":"2026-06-13T09:32:50.288Z","avatar_url":"https://github.com/Icemap.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TiDB java connector (Community)\n\n[English](/README.md) | 中文\n\n***TiDB Java 连接器 (社区版)***:\n\n- 是一个适配 JDBC 4.2 的驱动, 用来连接 Java 应用和 TiDB 数据库。\n- 遵循 LGPL 协议。\n- 基于 [MariaDB java connector](https://github.com/mariadb-corporation/mariadb-connector-j) 3.0.7 版本更改。\n- 是一个 ***非官方*** 库。\n- 是一个更加激进地适配新特性的库，会更积极的适配 TiDB 的新特性。\n- 与 [MySQL Connector/J](https://github.com/mysql/mysql-connector-j) 不同，此库欢迎所有人的 PR。\n\n## 状态\n\n![Build Result](https://github.com/Icemap/tidb-connector-j/actions/workflows/ci.yml/badge.svg)\n![License (LGPL version 2.1)](https://img.shields.io/badge/license-GNU%20LGPL%20version%202.1-green.svg)\n\n## 获取途径\n\nJava 8 以上 :\n\n此驱动可在 Maven 中下载：\n\n**还未准备完毕**\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eorg.tidb.jdbc\u003c/groupId\u003e\n    \u003cartifactId\u003emariadb-java-client\u003c/artifactId\u003e\n    \u003cversion\u003e3.0.7\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## 文档\n\n你可以在这里找到开发者文档，新手文档，API 文档等：\n\n- [TiDB 开发者手册](https://docs.pingcap.com/zh/tidb/stable/dev-guide-overview)\n- [关于 MariaDB connector/J](https://mariadb.com/kb/en/about-mariadb-connector-j/)\n- [TiDB 文档](https://docs.pingcap.com/zh/tidb/stable)\n\n## 路线图\n\n- [x] 去除关于 `存储过程` 的代码及测试用例。\n- [x] 去除关于 `地理信息` 的代码及测试用例。\n- [x] 去除关于 `MariaDB Xpand` 的代码及测试用例。\n- [x] 去除关于 `READ_UNCOMMITTED` / `SERIALIZABLE` 事务隔离级别的代码及测试用例。\n- [x] 去除关于 `XA` 的代码及测试用例。\n- [x] 修复 major, minor, patch 版本的获取逻辑。\n- [x] 与 TiDB 集成构建 CI。\n- [x] 支持 TiDB 的关闭连接 (使用 `KILL TIDB xxx` 语句)。\n- [ ] 支持 TiDB 的 [乐观事务和悲观事务](https://docs.pingcap.com/zh/tidb/stable/dev-guide-optimistic-and-pessimistic-transaction)。\n- [ ] 支持 TiDB 的 [Follower Read](https://docs.pingcap.com/zh/tidb/stable/dev-guide-use-follower-read)。\n- [ ] 支持 TiDB 的 [Stale Read](https://docs.pingcap.com/tidb/stable/dev-guide-use-stale-read)。\n\n## 不支持的 JDBC 配置\n\n- `maxAllowedPacket`: TiDB 的 `max_allowed_packet` 仅为全局，session 级别不可更改。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficemap%2Ftidb-connector-j","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficemap%2Ftidb-connector-j","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficemap%2Ftidb-connector-j/lists"}