摘要: <!-- 上传的文件的限制 --> <bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver"> <property name="maxUploadSi 阅读全文
posted @ 2017-02-13 11:44 洞玄巅峰 阅读(261) 评论(0) 推荐(0) 编辑
摘要: <!-- 启动触发器的配置开始 --> <bean name="startQuertz" lazy-init="false" autowire="no" class="org.springframework.scheduling.quartz.SchedulerFactoryBean"> <prop 阅读全文
posted @ 2017-02-13 11:40 洞玄巅峰 阅读(769) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?><ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ehcache.xsd"> <dis 阅读全文
posted @ 2017-02-13 11:33 洞玄巅峰 阅读(342) 评论(1) 推荐(0) 编辑
摘要: Calendar calendar=Calendar.getInstance(); //上一年的今天 calendar.add(Calendar.YEAR,-1); System.out.println(calendar.getTime()); //上一年上一月 calendar.add(Calen 阅读全文
posted @ 2017-02-13 10:49 洞玄巅峰 阅读(199) 评论(0) 推荐(0) 编辑
摘要: hibernate 纯sql查询返回结果集(未关联映射)组装VO的问题//须保证别名字段与Vo字段一致 //引号中为vo对象属性需与sql查询返回字段一致.addScalar("chname").setResultTransformer(Transformers.aliasToBean(Vo.cla 阅读全文
posted @ 2017-02-13 10:29 洞玄巅峰 阅读(2446) 评论(0) 推荐(0) 编辑