摘要: 1 阅读全文
posted @ 2020-10-18 15:09 codedot 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 数据脱敏的相关概念或更详细的介绍,请看: https://shardingsphere.apache.org/document/legacy/4.x/document/cn/features/orchestration/encrypt/ 数据脱敏功能既可与数据分片功能共同使用,又可作为单独功能组件, 阅读全文
posted @ 2020-10-18 15:08 codedot 阅读(1221) 评论(0) 推荐(0) 编辑
摘要: 分布式事务相关概念和更多详细的介绍,请看: https://shardingsphere.apache.org/document/legacy/4.x/document/cn/features/transaction/ 一、不使用Spring ① 引入maven依赖 <dependency> <gr 阅读全文
posted @ 2020-10-18 15:07 codedot 阅读(1245) 评论(1) 推荐(0) 编辑
摘要: 1 阅读全文
posted @ 2020-10-18 15:00 codedot 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 1 阅读全文
posted @ 2020-10-18 14:58 codedot 阅读(423) 评论(0) 推荐(0) 编辑
摘要: DataSource接口 不支持timeout相关操作 Connection接口 不支持存储过程,函数,游标的操作 不支持执行native的SQL 不支持savepoint相关操作 不支持Schema/Catalog的操作 不支持自定义类型映射 Statement和PreparedStatement 阅读全文
posted @ 2020-10-18 12:41 codedot 阅读(1273) 评论(0) 推荐(0) 编辑
摘要: 一、核心功能和不支持项 核心功能 提供一主多从的读写分离配置,可独立使用,也可配合分库分表使用。 独立使用读写分离支持SQL透传。 同一线程且同一数据库连接内,如有写入操作,以后的读操作均从主库读取,用于保证数据一致性。 基于Hint的强制主库路由。 不支持项 主库和从库的数据同步(所以需要另外实现 阅读全文
posted @ 2020-10-18 12:38 codedot 阅读(625) 评论(0) 推荐(0) 编辑
摘要: 一、使用规范 详细说明了在Sharding-JDBC中SQL和分页中支持项和不支持项: https://shardingsphere.apache.org/document/legacy/4.x/document/cn/features/sharding/use-norms/ 涉及到的库及表 CRE 阅读全文
posted @ 2020-10-18 12:37 codedot 阅读(498) 评论(0) 推荐(0) 编辑
摘要: 使用Commons Configuration可以很好的管理我们的配置文件的读写。 官网:http://commons.apache.org/proper/commons-configuration/ 需要使用到的包有:commons-collections、commons-configuratio 阅读全文
posted @ 2020-10-18 08:58 codedot 阅读(373) 评论(0) 推荐(0) 编辑