![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring
文章平均质量分 78
kollyQAQ
这个作者很懒,什么都没留下…
展开
-
Spring任务调度<task:scheduled-tasks>【含cron参数详解】
Spring内部有一个task是Spring自带的一个设定时间自动任务调度 task使用的时候很方便,但是他能做的东西不如quartz那么的多! 可以使用注解和配置两种方式,配置的方式如下 引入Spring放在appcation.xml开头 <beans xmlns="http://www.springframework.org/schema/beans" x原创 2016-04-19 16:07:08 · 49100 阅读 · 3 评论 -
spring通过注解实现声明式事务控制
第一步:声明使用注解并制定事务管理器 第二步:引入properties文件 <context:property-placeholder ignore-resource-not-found="true" location="classpath*:/config.properties" /> config.properties: dbhost=xxxxxx原创 2016-04-26 12:31:13 · 1928 阅读 · 0 评论