2016年12月27日

spring定时器

摘要: applicationContext-timer.xml <?xml version="1.0" encoding="GBK"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.o 阅读全文

posted @ 2016-12-27 21:48 miu丶苏 阅读(152) 评论(0) 推荐(0) 编辑

签到

摘要: Map<String, Object> params = new HashMap<String, Object>(); int count=1; int day=0; try{ //判断用户是否是连续签到 com.soft.bc.integral.turnover.vo.QueryBean quer 阅读全文

posted @ 2016-12-27 21:48 miu丶苏 阅读(224) 评论(0) 推荐(0) 编辑

hibernate和spring的事务处理

摘要: 将hibernate和spring集成,使用spring框架的声明式事务。 使用spring的声明式事务,不再需要自动创建sessionFactory和Session,不再需要手动控制事务的开启和关闭。 使用spring声明式事务的几个步骤: 1. applicationContext.xml中进行 阅读全文

posted @ 2016-12-27 21:47 miu丶苏 阅读(157) 评论(0) 推荐(0) 编辑

导航