# mybatis-shards **Repository Path**: fengkuok/mybatis-shards ## Basic Information - **Project Name**: mybatis-shards - **Description**: 基于MyBatis的数据库切分框架,可实现数据的水平切分和垂直切分。 http://www.makersoft.org - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 8 - **Forks**: 1 - **Created**: 2015-07-29 - **Last Updated**: 2025-08-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![][Logo]][1] # [MyBatis-Shards][1] 专业的MyBatis数据库切分框架 ## MyBatis Shards简介 MyBatis Shards在实现方式上完全借鉴于Hibernate Shards,目前可以认为是Hibernate Shards的一个迁移版本。 ## MyBatis Shards概述 MyBatis Shards采用无侵入性的方式,无需更改现有程序代码,只要根据现有业务编写合理的分区策略即可。 在多数据源事物管理方面借鉴[Cobar Client][2],采用Best Efforts 1PC Pattern的方式来实现多数据源的管理。 ## 同类产品比较 - [Cobar Client][2] - [Shardbatis][3] ## CI status [![Build Status](https://travis-ci.org/makersoft/mybatis-shards.svg?branch=master)](https://travis-ci.org/makersoft/mybatis-shards) 联系方式:guofengcn@126.com [1]: http://www.makersoft.org [2]: http://code.alibabatech.com/wiki/display/CobarClient/Home [3]: http://code.google.com/p/shardbatis/ [Logo]:https://raw.github.com/makersoft/makersoft.github.com/master/images/makersoft-logo.png