You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2021/10/25 13:11:17 UTC

[shardingsphere] branch master updated (0458498 -> e875454)

This is an automated email from the ASF dual-hosted git repository.

zhangliang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git.


    from 0458498  Update LICENSE (#13267)
     add e875454  Add springboot starter mybatis template (#13114)

No new revisions were added by this update.

Summary of changes:
 .../example/engine/ExampleGenerateEngine.java      |  49 ++++++--
 .../src/main/resources/template/Example.ftl        |  39 ++++++
 .../src/main/resources/template/ExampleService.ftl | 133 +++++++++++++++++++++
 .../src/main/resources/template/entity/Order.ftl   |  70 +++++++++++
 .../main/resources/template/entity/OrderItem.ftl   |  70 +++++++++++
 .../resources/template/mappers/OrderItemMapper.ftl |  51 ++++++++
 .../resources/template/mappers/OrderMapper.ftl     |  51 ++++++++
 .../resources/template/properties/application.ftl  |  71 +++++++++++
 .../OrderItemRepository.ftl                        |  39 ++++++
 .../springboot-starter-mybatis/OrderRepository.ftl |  39 ++++++
 .../springboot-starter-mybatis/data-model.yaml     |  22 ++++
 .../pom.xml                                        |  41 +++++++
 ...calShardingSpringbootStarterMybatisExample.java |  35 ++++++
 ...dingSpringbootStarterMybatisExampleService.java | 129 ++++++++++++++++++++
 .../springboot/starter/mybatis/entity/Order.java   |  70 +++++++++++
 .../starter/mybatis/entity/OrderItem.java          |  70 +++++++++++
 .../mybatis/repository/OrderItemRepository.java    |  39 ++++++
 .../mybatis/repository/OrderRepository.java        |  39 ++++++
 .../src/main/resources/application.properties      |  71 +++++++++++
 .../src/main/resources/mappers/OrderItemMapper.xml |  51 ++++++++
 .../src/main/resources/mappers/OrderMapper.xml     |  51 ++++++++
 21 files changed, 1218 insertions(+), 12 deletions(-)
 create mode 100644 examples/shardingsphere-sample/shardingsphere-example-engine/src/main/resources/template/Example.ftl
 create mode 100644 examples/shardingsphere-sample/shardingsphere-example-engine/src/main/resources/template/ExampleService.ftl
 create mode 100644 examples/shardingsphere-sample/shardingsphere-example-engine/src/main/resources/template/entity/Order.ftl
 create mode 100644 examples/shardingsphere-sample/shardingsphere-example-engine/src/main/resources/template/entity/OrderItem.ftl
 create mode 100644 examples/shardingsphere-sample/shardingsphere-example-engine/src/main/resources/template/mappers/OrderItemMapper.ftl
 create mode 100644 examples/shardingsphere-sample/shardingsphere-example-engine/src/main/resources/template/mappers/OrderMapper.ftl
 create mode 100644 examples/shardingsphere-sample/shardingsphere-example-engine/src/main/resources/template/properties/application.ftl
 create mode 100644 examples/shardingsphere-sample/shardingsphere-example-engine/src/main/resources/template/springboot-starter-mybatis/OrderItemRepository.ftl
 create mode 100644 examples/shardingsphere-sample/shardingsphere-example-engine/src/main/resources/template/springboot-starter-mybatis/OrderRepository.ftl
 create mode 100644 examples/shardingsphere-sample/shardingsphere-example-engine/src/main/resources/template/springboot-starter-mybatis/data-model.yaml
 create mode 100644 examples/shardingsphere-sample/shardingsphere-jdbc-sample/shardingsphere-jdbc-memory-example/shardingsphere-jdbc-memory-local-example/shardingsphere-jdbc-memory-local-sharding-example/shardingsphere-jdbc-memory-local-sharding-springboot-starter-mybatis-example/pom.xml
 create mode 100644 examples/shardingsphere-sample/shardingsphere-jdbc-sample/shardingsphere-jdbc-memory-example/shardingsphere-jdbc-memory-local-example/shardingsphere-jdbc-memory-local-sharding-example/shardingsphere-jdbc-memory-local-sharding-springboot-starter-mybatis-example/src/main/java/org/apache/shardingsphere/example/sharding/springboot/starter/mybatis/MemoryLocalShardingSpringbootStarterMybatisExample.java
 create mode 100644 examples/shardingsphere-sample/shardingsphere-jdbc-sample/shardingsphere-jdbc-memory-example/shardingsphere-jdbc-memory-local-example/shardingsphere-jdbc-memory-local-sharding-example/shardingsphere-jdbc-memory-local-sharding-springboot-starter-mybatis-example/src/main/java/org/apache/shardingsphere/example/sharding/springboot/starter/mybatis/MemoryLocalShardingSpringbootStarterMybatisExampleService.java
 create mode 100644 examples/shardingsphere-sample/shardingsphere-jdbc-sample/shardingsphere-jdbc-memory-example/shardingsphere-jdbc-memory-local-example/shardingsphere-jdbc-memory-local-sharding-example/shardingsphere-jdbc-memory-local-sharding-springboot-starter-mybatis-example/src/main/java/org/apache/shardingsphere/example/sharding/springboot/starter/mybatis/entity/Order.java
 create mode 100644 examples/shardingsphere-sample/shardingsphere-jdbc-sample/shardingsphere-jdbc-memory-example/shardingsphere-jdbc-memory-local-example/shardingsphere-jdbc-memory-local-sharding-example/shardingsphere-jdbc-memory-local-sharding-springboot-starter-mybatis-example/src/main/java/org/apache/shardingsphere/example/sharding/springboot/starter/mybatis/entity/OrderItem.java
 create mode 100644 examples/shardingsphere-sample/shardingsphere-jdbc-sample/shardingsphere-jdbc-memory-example/shardingsphere-jdbc-memory-local-example/shardingsphere-jdbc-memory-local-sharding-example/shardingsphere-jdbc-memory-local-sharding-springboot-starter-mybatis-example/src/main/java/org/apache/shardingsphere/example/sharding/springboot/starter/mybatis/repository/OrderItemRepository.java
 create mode 100644 examples/shardingsphere-sample/shardingsphere-jdbc-sample/shardingsphere-jdbc-memory-example/shardingsphere-jdbc-memory-local-example/shardingsphere-jdbc-memory-local-sharding-example/shardingsphere-jdbc-memory-local-sharding-springboot-starter-mybatis-example/src/main/java/org/apache/shardingsphere/example/sharding/springboot/starter/mybatis/repository/OrderRepository.java
 create mode 100644 examples/shardingsphere-sample/shardingsphere-jdbc-sample/shardingsphere-jdbc-memory-example/shardingsphere-jdbc-memory-local-example/shardingsphere-jdbc-memory-local-sharding-example/shardingsphere-jdbc-memory-local-sharding-springboot-starter-mybatis-example/src/main/resources/application.properties
 create mode 100644 examples/shardingsphere-sample/shardingsphere-jdbc-sample/shardingsphere-jdbc-memory-example/shardingsphere-jdbc-memory-local-example/shardingsphere-jdbc-memory-local-sharding-example/shardingsphere-jdbc-memory-local-sharding-springboot-starter-mybatis-example/src/main/resources/mappers/OrderItemMapper.xml
 create mode 100644 examples/shardingsphere-sample/shardingsphere-jdbc-sample/shardingsphere-jdbc-memory-example/shardingsphere-jdbc-memory-local-example/shardingsphere-jdbc-memory-local-sharding-example/shardingsphere-jdbc-memory-local-sharding-springboot-starter-mybatis-example/src/main/resources/mappers/OrderMapper.xml