 Apache ShardingSphere 5.0.0-alpha Document1.4 Configuration Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174 Java API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 YAML Configuration customization • Centre‐less Distributed primary key 1.2.2 Distributed Transaction • Unified Transaction API • XA transaction • BASE transaction 1.2.3 Database Governance • Distributed Governance • Data staff’s ID, but this column does not exist in the database. SQL Hint can be used by two ways, Java API and SQL comment (to do). Please refer to Hint for more details. Configuration Sharding Rule The0 码力 | 311 页 | 2.09 MB | 1 年前3 Apache ShardingSphere 5.0.0-alpha Document1.4 Configuration Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174 Java API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 YAML Configuration customization • Centre‐less Distributed primary key 1.2.2 Distributed Transaction • Unified Transaction API • XA transaction • BASE transaction 1.2.3 Database Governance • Distributed Governance • Data staff’s ID, but this column does not exist in the database. SQL Hint can be used by two ways, Java API and SQL comment (to do). Please refer to Hint for more details. Configuration Sharding Rule The0 码力 | 311 页 | 2.09 MB | 1 年前3
 Apache ShardingSphere 中文文档 5.0.0-alpha4.1.4 配置手册 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179 Java API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179 YAML 配置 . . . 对于分片字段非 SQL 决定,而由其他外置条件决定的场景,可使用 SQL Hint 灵活的注入分片字段。例: 内部系统,按照员工登录主键分库,而数据库中并无此字段。SQL Hint 支持通过 Java API 和 SQL 注释 (待实现)两种方式使用。详情请参见强制分片路由。 配置 分片规则 分片规则配置的总入口。包含数据源配置、表配置、绑定表配置以及读写分离配置等。 数据源配置 真实数据源列表。 • 表分片策略 对应于 TableShardingStrategy。用于配置数据被分配的目标表,该目标表存在于该数据的目标数据源内。 故表分片策略是依赖于数据源分片策略的结果的。 两种策略的 API 完全相同。 自增主键生成策略 通过在客户端生成自增主键替换以数据库原生自增主键的方式,做到分布式主键无重复。 行表达式 实现动机 配置的简化与一体化是行表达式所希望解决的两个主要问题。0 码力 | 301 页 | 3.44 MB | 1 年前3 Apache ShardingSphere 中文文档 5.0.0-alpha4.1.4 配置手册 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179 Java API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179 YAML 配置 . . . 对于分片字段非 SQL 决定,而由其他外置条件决定的场景,可使用 SQL Hint 灵活的注入分片字段。例: 内部系统,按照员工登录主键分库,而数据库中并无此字段。SQL Hint 支持通过 Java API 和 SQL 注释 (待实现)两种方式使用。详情请参见强制分片路由。 配置 分片规则 分片规则配置的总入口。包含数据源配置、表配置、绑定表配置以及读写分离配置等。 数据源配置 真实数据源列表。 • 表分片策略 对应于 TableShardingStrategy。用于配置数据被分配的目标表,该目标表存在于该数据的目标数据源内。 故表分片策略是依赖于数据源分片策略的结果的。 两种策略的 API 完全相同。 自增主键生成策略 通过在客户端生成自增主键替换以数据库原生自增主键的方式,做到分布式主键无重复。 行表达式 实现动机 配置的简化与一体化是行表达式所希望解决的两个主要问题。0 码力 | 301 页 | 3.44 MB | 1 年前3
 Apache ShardingSphere 5.1.1 DocumentShardingSphere‐JDBC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 5.1.1 Java API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Overview . . . . Shadow Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 5.1.7 Special API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 Sharding . . . . effect when integrating ShardingSphere with Spring Boot 2.x ? . . . . . . . . . . . . . . . . 356 7.9 API Change Histories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357 7.90 码力 | 458 页 | 3.43 MB | 1 年前3 Apache ShardingSphere 5.1.1 DocumentShardingSphere‐JDBC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 5.1.1 Java API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Overview . . . . Shadow Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 5.1.7 Special API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 Sharding . . . . effect when integrating ShardingSphere with Spring Boot 2.x ? . . . . . . . . . . . . . . . . 356 7.9 API Change Histories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357 7.90 码力 | 458 页 | 3.43 MB | 1 年前3
 Apache ShardingSphere 5.1.2 DocumentShardingSphere‐JDBC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 5.1.1 Java API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 Overview . . . . Shadow Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 5.1.8 Special API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 Sharding . . . . in yaml or properties leading incorrect result when loading Oracle metadata? . . . . . . 369 7.9 API Change Histories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370 7.90 码力 | 503 页 | 3.66 MB | 1 年前3 Apache ShardingSphere 5.1.2 DocumentShardingSphere‐JDBC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 5.1.1 Java API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 Overview . . . . Shadow Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 5.1.8 Special API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 Sharding . . . . in yaml or properties leading incorrect result when loading Oracle metadata? . . . . . . 369 7.9 API Change Histories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370 7.90 码力 | 503 页 | 3.66 MB | 1 年前3
 Apache ShardingSphere 5.4.1 DocumentDriver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 9.1.2 Java API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 Overview . . . . Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 9.1.3 Special API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 Sharding . . . . databases / tables (such as information_schema, pg_catalog). When connecting to Proxy through some graph database clients, the client or proxy may have an er‐ ror prompt. You can use command‐line clients0 码力 | 572 页 | 3.73 MB | 1 年前3 Apache ShardingSphere 5.4.1 DocumentDriver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 9.1.2 Java API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 Overview . . . . Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 9.1.3 Special API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 Sharding . . . . databases / tables (such as information_schema, pg_catalog). When connecting to Proxy through some graph database clients, the client or proxy may have an er‐ ror prompt. You can use command‐line clients0 码力 | 572 页 | 3.73 MB | 1 年前3
 Apache ShardingSphere v5.5.0 documentDriver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 9.1.2 Java API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 Overview . . . . Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 9.1.3 Special API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 Sharding . . . . databases / tables (such as information_schema, pg_catalog). When connecting to Proxy through some graph database clients, the client or proxy may have an er‐ ror prompt. You can use command‐line clients0 码力 | 602 页 | 3.85 MB | 1 年前3 Apache ShardingSphere v5.5.0 documentDriver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 9.1.2 Java API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 Overview . . . . Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 9.1.3 Special API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 Sharding . . . . databases / tables (such as information_schema, pg_catalog). When connecting to Proxy through some graph database clients, the client or proxy may have an er‐ ror prompt. You can use command‐line clients0 码力 | 602 页 | 3.85 MB | 1 年前3
 Apache ShardingSphere 5.2.0 DocumentDriver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 4.1.2 Java API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Overview . . . . Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160 4.1.5 Special API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162 Sharding . . . . databases / tables (such as information_schema, pg_catalog). When connecting to Proxy through some graph database clients, the client or proxy may have an er‐ ror prompt. You can use command‐line clients0 码力 | 483 页 | 4.27 MB | 1 年前3 Apache ShardingSphere 5.2.0 DocumentDriver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 4.1.2 Java API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Overview . . . . Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160 4.1.5 Special API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162 Sharding . . . . databases / tables (such as information_schema, pg_catalog). When connecting to Proxy through some graph database clients, the client or proxy may have an er‐ ror prompt. You can use command‐line clients0 码力 | 483 页 | 4.27 MB | 1 年前3
 Apache ShardingSphere 5.2.1 DocumentDriver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 4.1.2 Java API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Overview . . . . Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162 4.1.5 Special API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 Sharding . . . . databases / tables (such as information_schema, pg_catalog). When connecting to Proxy through some graph database clients, the client or proxy may have an er‐ ror prompt. You can use command‐line clients0 码力 | 523 页 | 4.51 MB | 1 年前3 Apache ShardingSphere 5.2.1 DocumentDriver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 4.1.2 Java API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Overview . . . . Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162 4.1.5 Special API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 Sharding . . . . databases / tables (such as information_schema, pg_catalog). When connecting to Proxy through some graph database clients, the client or proxy may have an er‐ ror prompt. You can use command‐line clients0 码力 | 523 页 | 4.51 MB | 1 年前3
 Mybatis 3.3.0 中文用户指南mybatis 参考文档 参考文档 参考文档 参考文档 简介 简介 入门 入门 XML配置 XML配置 XML映射文件 XML映射文件 动态SQL 动态SQL Java API Java API SQL语句构建器 SQL语句构建器 日志 日志 项目文档 项目文档 项目文档 项目文档 项目信息 项目信息 项目报表 项目报表 简介 简介 什么是 什么是 MyBatis ? ? mybatis 参考文档 参考文档 参考文档 参考文档 简介 简介 入门 入门 XML配置 XML配置 XML映射文件 XML映射文件 动态SQL 动态SQL Java API Java API SQL语句构建器 SQL语句构建器 日志 日志 项目文档 项目文档 项目文档 项目文档 项目信息 项目信息 项目报表 项目报表 入门 入门 安装 安装 要使用 MyBatis, (databaseIdProvider) (databaseIdProvider) 映射器 映射器 (mappers) (mappers) XML映射文件 XML映射文件 动态SQL 动态SQL Java API Java API SQL语句构建器 SQL语句构建器 日志 日志 XML 映射配置文件 映射配置文件 MyBatis 的配置文件包含了影响 MyBatis 行为甚深的设置(settings)和属性0 码力 | 98 页 | 2.03 MB | 1 年前3 Mybatis 3.3.0 中文用户指南mybatis 参考文档 参考文档 参考文档 参考文档 简介 简介 入门 入门 XML配置 XML配置 XML映射文件 XML映射文件 动态SQL 动态SQL Java API Java API SQL语句构建器 SQL语句构建器 日志 日志 项目文档 项目文档 项目文档 项目文档 项目信息 项目信息 项目报表 项目报表 简介 简介 什么是 什么是 MyBatis ? ? mybatis 参考文档 参考文档 参考文档 参考文档 简介 简介 入门 入门 XML配置 XML配置 XML映射文件 XML映射文件 动态SQL 动态SQL Java API Java API SQL语句构建器 SQL语句构建器 日志 日志 项目文档 项目文档 项目文档 项目文档 项目信息 项目信息 项目报表 项目报表 入门 入门 安装 安装 要使用 MyBatis, (databaseIdProvider) (databaseIdProvider) 映射器 映射器 (mappers) (mappers) XML映射文件 XML映射文件 动态SQL 动态SQL Java API Java API SQL语句构建器 SQL语句构建器 日志 日志 XML 映射配置文件 映射配置文件 MyBatis 的配置文件包含了影响 MyBatis 行为甚深的设置(settings)和属性0 码力 | 98 页 | 2.03 MB | 1 年前3
 MyBatis 框架尚硅谷 java 研究院版本:V 1.0Colebourne 创建的 Joda-Time 来操作。1.8 已经实现全部的 JSR310 规范了 4) 日期时间处理上,我们可以使用 MyBatis 基于 JSR310(Date and Time API)编写的各 种日期时间类型处理器。 5) MyBatis3.4 以前的版本需要我们手动注册这些处理器,以后的版本都是自动注册的,如 需注册,需要下载 mybatistypehandlers-jsr310 MyBatis 采用功能强大的基于 OGNL 的表达式来简化操作 if choose (when, otherwise) trim (where, set) foreach 4) OGNL( Object Graph Navigation Language )对象图导航语言,这是一种强大的 表达式语言,通过它可以非常方便的来操作对象属性。 类似于我们的 EL,SpEL 等 访问对象属性: person.name 整合 EhCache 缓存的步骤: 1 导入 ehcache 包,以及整合包,日志包 ehcache-core-2.6.8.jar、mybatis-ehcache-1.0.3.jar slf4j-api-1.6.1.jar、slf4j-log4j12-1.6.2.jar 2 编写 ehcache.xml 配置文件0 码力 | 44 页 | 926.54 KB | 1 年前3 MyBatis 框架尚硅谷 java 研究院版本:V 1.0Colebourne 创建的 Joda-Time 来操作。1.8 已经实现全部的 JSR310 规范了 4) 日期时间处理上,我们可以使用 MyBatis 基于 JSR310(Date and Time API)编写的各 种日期时间类型处理器。 5) MyBatis3.4 以前的版本需要我们手动注册这些处理器,以后的版本都是自动注册的,如 需注册,需要下载 mybatistypehandlers-jsr310 MyBatis 采用功能强大的基于 OGNL 的表达式来简化操作 if choose (when, otherwise) trim (where, set) foreach 4) OGNL( Object Graph Navigation Language )对象图导航语言,这是一种强大的 表达式语言,通过它可以非常方便的来操作对象属性。 类似于我们的 EL,SpEL 等 访问对象属性: person.name 整合 EhCache 缓存的步骤: 1 导入 ehcache 包,以及整合包,日志包 ehcache-core-2.6.8.jar、mybatis-ehcache-1.0.3.jar slf4j-api-1.6.1.jar、slf4j-log4j12-1.6.2.jar 2 编写 ehcache.xml 配置文件0 码力 | 44 页 | 926.54 KB | 1 年前3
共 23 条
- 1
- 2
- 3













