资源简介

sharding-jdbc单库时间切分表 springboot mybatis集成 ,

资源截图

代码片段和文件信息

package com.example.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan(“com.example.demo.mapper“)
@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})
@EnableTransactionManagement(proxyTargetClass = true)
public class DemoApplication {

public static void main(String[] args) {
SpringApplication.run(DemoApplication.class args);
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-05-16 15:27  sharding-jdbc-demo\
     目录           0  2019-05-16 16:25  sharding-jdbc-demo\.idea\
     文件           4  2019-05-15 13:00  sharding-jdbc-demo\.idea\.name
     文件         635  2019-05-15 13:00  sharding-jdbc-demo\.idea\compiler.xml
     文件         177  2019-05-15 13:00  sharding-jdbc-demo\.idea\encodings.xml
     文件         238  2019-05-15 13:00  sharding-jdbc-demo\.idea\kotlinc.xml
     目录           0  2019-05-16 15:27  sharding-jdbc-demo\.idea\libraries\
     文件         575  2019-05-16 15:27  sharding-jdbc-demo\.idea\libraries\Maven__ch_qos_logback_logback_classic_1_1_11.xml
     文件         554  2019-05-16 15:27  sharding-jdbc-demo\.idea\libraries\Maven__ch_qos_logback_logback_core_1_1_11.xml
     文件         525  2019-05-15 13:00  sharding-jdbc-demo\.idea\libraries\Maven__commons_dbcp_commons_dbcp_1_4.xml
     文件         525  2019-05-15 13:00  sharding-jdbc-demo\.idea\libraries\Maven__commons_pool_commons_pool_1_6.xml
     文件         486  2019-05-15 13:00  sharding-jdbc-demo\.idea\libraries\Maven__com_alibaba_druid_1_1_3.xml
     文件         514  2019-05-15 13:00  sharding-jdbc-demo\.idea\libraries\Maven__com_alibaba_fastjson_1_2_47.xml
     文件         581  2019-05-16 15:18  sharding-jdbc-demo\.idea\libraries\Maven__com_dangdang_sharding_jdbc_core_1_5_4.xml
     文件         522  2019-05-15 13:00  sharding-jdbc-demo\.idea\libraries\Maven__com_fasterxml_classmate_1_3_4.xml
     文件         644  2019-05-16 15:27  sharding-jdbc-demo\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_annotations_2_8_0.xml
     文件         602  2019-05-16 15:27  sharding-jdbc-demo\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_core_2_8_10.xml
     文件         630  2019-05-16 15:27  sharding-jdbc-demo\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_databind_2_8_10.xml
     文件         547  2019-05-15 14:21  sharding-jdbc-demo\.idea\libraries\Maven__com_github_jsqlparser_jsqlparser_1_2.xml
     文件         561  2019-05-15 14:21  sharding-jdbc-demo\.idea\libraries\Maven__com_github_pagehelper_pagehelper_5_1_6.xml
     文件         743  2019-05-15 14:21  sharding-jdbc-demo\.idea\libraries\Maven__com_github_pagehelper_pagehelper_spring_boot_autoconfigure_1_2_7.xml
     文件         701  2019-05-15 14:21  sharding-jdbc-demo\.idea\libraries\Maven__com_github_pagehelper_pagehelper_spring_boot_starter_1_2_7.xml
     文件         499  2019-05-15 13:00  sharding-jdbc-demo\.idea\libraries\Maven__com_google_guava_guava_18_0.xml
     文件         546  2019-05-16 15:27  sharding-jdbc-demo\.idea\libraries\Maven__com_jayway_jsonpath_json_path_2_2_0.xml
     文件         700  2019-05-15 13:00  sharding-jdbc-demo\.idea\libraries\Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml
     文件         611  2019-05-16 15:27  sharding-jdbc-demo\.idea\libraries\Maven__javax_validation_validation_api_1_1_0_Final.xml
     文件         455  2019-05-15 13:00  sharding-jdbc-demo\.idea\libraries\Maven__junit_junit_4_12.xml
     文件         574  2019-05-15 13:00  sharding-jdbc-demo\.idea\libraries\Maven__mysql_mysql_connector_java_5_1_44.xml
     文件         542  2019-05-16 15:27  sharding-jdbc-demo\.idea\libraries\Maven__net_minidev_accessors_smart_1_1.xml
     文件         521  2019-05-16 15:27  sharding-jdbc-demo\.idea\libraries\Maven__net_minidev_json_smart_2_2_1.xml
     文件         625  2019-05-16 15:27  sharding-jdbc-demo\.idea\libraries\Maven__org_apache_tomcat_embed_tomcat_embed_core_8_5_23.xml
............此处省略117个文件信息

评论

共有 条评论