首页 开发技术 硬件开发     /    spring-boot2.0.2数据库配置定时任务

spring-boot2.0.2数据库配置定时任务

上传者: howard789 | 上传时间:2023/8/30 8:08:18 | 文件大小:47KB | 文件类型:rar
spring-boot2.0.2数据库配置定时任务
spring-boot2.0.2.RELEASE,将定时任务配置在数据库,启动项目的时候,用mybatis读取数据库,实例化对象,并设定定时任务。
如果需要新增,减少,修改定时任务,仅需要修改数据库资料,并重启项目即可,无需改代码。
含数据库建表语句和示范,运行application启动定时任务,测试类示范查看,修改定时任务。

文件下载

资源详情

[{"title":"(71个子文件47KB)spring-boot2.0.2数据库配置定时任务","children":[{"title":"SpringBoot-ScheduledTask-With-DataBase","children":[{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"ApplicationTest.java <span style='color:#111;'>1.21KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"sys_task.sql <span style='color:#111;'>1.97KB</span>","children":null,"spread":false},{"title":"mybatis","children":[{"title":"mybatis-config.xml <span style='color:#111;'>1.11KB</span>","children":null,"spread":false}],"spread":true},{"title":"application.yml <span style='color:#111;'>1.50KB</span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"service","children":[{"title":"TaskB.java <span style='color:#111;'>359B</span>","children":null,"spread":false},{"title":"TaskA.java <span style='color:#111;'>363B</span>","children":null,"spread":false}],"spread":true},{"title":"util","children":[{"title":"DataSourceConfig.java <span style='color:#111;'>3.52KB</span>","children":null,"spread":false},{"title":"SpringUtil.java <span style='color:#111;'>1.73KB</span>","children":null,"spread":false}],"spread":true},{"title":"Application.java <span style='color:#111;'>656B</span>","children":null,"spread":false},{"title":"mybatis","children":[{"title":"model","children":[{"title":"SysTask.java <span style='color:#111;'>7.08KB</span>","children":null,"spread":false},{"title":"SysTaskExample.java <span style='color:#111;'>33.34KB</span>","children":null,"spread":false}],"spread":true},{"title":"mapper","children":[{"title":"SysTaskMapper.xml <span style='color:#111;'>12.87KB</span>","children":null,"spread":false}],"spread":true},{"title":"dao","children":[{"title":"SysTaskMapper.java <span style='color:#111;'>1.76KB</span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"scheduledTask","children":[{"title":"SysTaskService.java <span style='color:#111;'>364B</span>","children":null,"spread":false},{"title":"SysTaskConfig.java <span style='color:#111;'>5.23KB</span>","children":null,"spread":false},{"title":"SysTaskServiceImpl.java <span style='color:#111;'>5.47KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".idea","children":[{"title":"libraries","children":[{"title":"Maven__org_yaml_snakeyaml_1_19.xml <span style='color:#111;'>495B</span>","children":null,"spread":false},{"title":"Maven__net_bytebuddy_byte_buddy_agent_1_7_11.xml <span style='color:#111;'>578B</span>","children":null,"spread":false},{"title":"Maven__org_assertj_assertj_core_3_9_1.xml <span style='color:#111;'>535B</span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_jcl_5_0_6_RELEASE.xml <span style='color:#111;'>609B</span>","children":null,"spread":false},{"title":"Maven__org_springframework_boot_spring_boot_starter_jdbc_2_0_2_RELEASE.xml <span style='color:#111;'>727B</span>","children":null,"spread":false},{"title":"Maven__ch_qos_logback_logback_core_1_2_3.xml <span style='color:#111;'>547B</span>","children":null,"spread":false},{"title":"Maven__junit_junit_4_12.xml <span style='color:#111;'>455B</span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_beans_5_0_6_RELEASE.xml <span style='color:#111;'>623B</span>","children":null,"spread":false},{"title":"Maven__org_springframework_boot_spring_boot_starter_test_2_0_2_RELEASE.xml <span style='color:#111;'>727B</span>","children":null,"spread":false},{"title":"Maven__org_apache_logging_log4j_log4j_to_slf4j_2_10_0.xml <span style='color:#111;'>608B</span>","children":null,"spread":false},{"title":"Maven__com_jayway_jsonpath_json_path_2_4_0.xml <span style='color:#111;'>546B</span>","children":null,"spread":false},{"title":"Maven__org_springframework_boot_spring_boot_autoconfigure_2_0_2_RELEASE.xml <span style='color:#111;'>734B</span>","children":null,"spread":false},{"title":"Maven__javax_annotation_javax_annotation_api_1_3_2.xml <span style='color:#111;'>611B</span>","children":null,"spread":false},{"title":"Maven__com_alibaba_druid_1_1_10.xml <span style='color:#111;'>493B</span>","children":null,"spread":false},{"title":"Maven__ch_qos_logback_logback_classic_1_2_3.xml <span style='color:#111;'>568B</span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_core_5_0_6_RELEASE.xml <span style='color:#111;'>616B</span>","children":null,"spread":false},{"title":"Maven__org_mockito_mockito_core_2_15_0.xml <span style='color:#111;'>542B</span>","children":null,"spread":false},{"title":"Maven__org_springframework_boot_spring_boot_starter_2_0_2_RELEASE.xml <span style='color:#111;'>692B</span>","children":null,"spread":false},{"title":"Maven__mysql_mysql_connector_java_5_1_46.xml <span style='color:#111;'>574B</span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_expression_5_0_6_RELEASE.xml <span style='color:#111;'>658B</span>","children":null,"spread":false},{"title":"Maven__org_slf4j_slf4j_api_1_7_7.xml <span style='color:#111;'>506B</span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_tx_5_0_6_RELEASE.xml <span style='color:#111;'>602B</span>","children":null,"spread":false},{"title":"Maven__net_bytebuddy_byte_buddy_1_7_11.xml <span style='color:#111;'>536B</span>","children":null,"spread":false},{"title":"Maven__org_mybatis_mybatis_3_4_6.xml <span style='color:#111;'>500B</span>","children":null,"spread":false},{"title":"Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml <span style='color:#111;'>700B</span>","children":null,"spread":false},{"title":"Maven__org_hamcrest_hamcrest_core_1_3.xml <span style='color:#111;'>532B</span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_aop_5_0_6_RELEASE.xml <span style='color:#111;'>609B</span>","children":null,"spread":false},{"title":"Maven__com_zaxxer_HikariCP_2_7_9.xml <span style='color:#111;'>503B</span>","children":null,"spread":false},{"title":"Maven__org_mybatis_mybatis_spring_1_3_2.xml <span style='color:#111;'>549B</span>","children":null,"spread":false},{"title":"Maven__org_springframework_boot_spring_boot_starter_logging_2_0_2_RELEASE.xml <span style='color:#111;'>748B</span>","children":null,"spread":false},{"title":"Maven__org_apache_commons_commons_lang3_3_7.xml <span style='color:#111;'>556B</span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_jdbc_5_0_6_RELEASE.xml <span style='color:#111;'>616B</span>","children":null,"spread":false},{"title":"Maven__org_mybatis_spring_boot_mybatis_spring_boot_autoconfigure_1_3_2.xml <span style='color:#111;'>730B</span>","children":null,"spread":false},{"title":"Maven__org_hamcrest_hamcrest_library_1_3.xml <span style='color:#111;'>553B</span>","children":null,"spread":false},{"title":"Maven__org_slf4j_jul_to_slf4j_1_7_25.xml <span style='color:#111;'>534B</span>","children":null,"spread":false},{"title":"Maven__org_springframework_boot_spring_boot_test_2_0_2_RELEASE.xml <span style='color:#111;'>671B</span>","children":null,"spread":false},{"title":"Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_0_2_RELEASE.xml <span style='color:#111;'>769B</span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_test_5_0_6_RELEASE.xml <span style='color:#111;'>616B</span>","children":null,"spread":false},{"title":"Maven__org_springframework_boot_spring_boot_2_0_2_RELEASE.xml <span style='color:#111;'>636B</span>","children":null,"spread":false},{"title":"Maven__com_alibaba_druid_spring_boot_starter_1_1_10.xml <span style='color:#111;'>633B</span>","children":null,"spread":false},{"title":"Maven__org_apache_logging_log4j_log4j_api_2_10_0.xml <span style='color:#111;'>573B</span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_context_5_0_6_RELEASE.xml <span style='color:#111;'>637B</span>","children":null,"spread":false},{"title":"Maven__org_mybatis_spring_boot_mybatis_spring_boot_starter_1_3_2.xml <span style='color:#111;'>688B</span>","children":null,"spread":false},{"title":"Maven__org_objenesis_objenesis_2_6.xml <span style='color:#111;'>508B</span>","children":null,"spread":false},{"title":"Maven__org_skyscreamer_jsonassert_1_5_0.xml <span style='color:#111;'>537B</span>","children":null,"spread":false},{"title":"Maven__org_xmlunit_xmlunit_core_2_5_1.xml <span style='color:#111;'>535B</span>","children":null,"spread":false},{"title":"Maven__com_alibaba_fastjson_1_2_47.xml <span style='color:#111;'>514B</span>","children":null,"spread":false}],"spread":false},{"title":"misc.xml <span style='color:#111;'>455B</span>","children":null,"spread":false},{"title":"compiler.xml <span style='color:#111;'>861B</span>","children":null,"spread":false},{"title":"uiDesigner.xml <span style='color:#111;'>8.59KB</span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'>59.46KB</span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'>172B</span>","children":null,"spread":false},{"title":"inspectionProfiles","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'>316B</span>","children":null,"spread":false}],"spread":true},{"title":"SpringBoot-ScheduledTask-With-DataBase.iml <span style='color:#111;'>6.09KB</span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'>3.19KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • wanjing5234:
    东西不错,挺好的2019-09-01
  • wanjing5234:
    东西不错,挺好的2019-09-01
  • zidane_2014:
    很不错的资源。2019-04-16
  • Zidane_2014:
    很不错的资源。2019-04-16

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明