You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
土豆兄弟 3e646a2f6a [其他提交](master): todo 下班回家整理相关的知识点
对分表分库框架进行整理其官网代码示例,构建其快速集成和使用的技术栈
2 years ago
..
src/main [其他提交](master): todo 下班回家整理相关的知识点 2 years ago
README.md [其他提交](master): todo 下班回家整理相关的知识点 2 years ago
README_ZH.md [其他提交](master): todo 下班回家整理相关的知识点 2 years ago
pom.xml [其他提交](master): todo 下班回家整理相关的知识点 2 years ago

README.md

Example codes generator of ShardingSphere

Project uses freemarker template engine to generate example codes of ShardingSphere.

Usage

  1. Configure YAML file

File: src/main/resources/config.yaml

  1. Generate code

Run org.apache.shardingsphere.example.generator.ExampleGeneratorMain to generate example codes.

Generated codes: target/generated-sources/shardingsphere-${product}-sample

Configuration Item Explanation

Name Description Options
product product jdbc, proxy
mode operating mode memory, cluster-zookeeper, cluster-etcd, standalone-file
transaction transaction type local
features feature set sharding, readwrite-splitting, db-discovery, encrypt
frameworks framework set jdbc, spring-boot-starter-jdbc, spring-boot-starter-jpa, spring-boot-starter-mybatis, spring-namespace-jpa, spring-namespace-mybatis
host database host
port database port
username database username
password database password