摘要: // 调用复制文件夹和文件的方法 public static void main(String[] args) { try { long startTime = System.currentTimeMillis();// 记录开始时间 copyDir("F://fromFile", "E://toF 阅读全文
posted @ 2018-08-21 14:39 青葱同老 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 事务注解方式: @Transactional 1.如果在类上加注解(对整个类起作用): @Transactional public class TestDaoImpl implements TestDao { public List getList() { return null; } } 2.加在 阅读全文
posted @ 2018-08-21 13:24 青葱同老 阅读(230) 评论(0) 推荐(0) 编辑