02 2017 档案
摘要:1:多对一配置 private Set<DrawRecordModel> cjrecordsSet = new HashSet<DrawRecordModel>(); 正确 private HashSet<DrawRecordModel> cjrecordsSet = new HashSet<Dra
阅读全文
摘要:http://blog.csdn.net/wang379275614/article/details/47778201
阅读全文
摘要:<!-- 上传的文件的限制 --> <bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver"> <property name="maxUploadSi
阅读全文
摘要:<!-- 启动触发器的配置开始 --> <bean name="startQuertz" lazy-init="false" autowire="no" class="org.springframework.scheduling.quartz.SchedulerFactoryBean"> <prop
阅读全文
摘要:<?xml version="1.0" encoding="utf-8"?><ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ehcache.xsd"> <dis
阅读全文
摘要:Calendar calendar=Calendar.getInstance(); //上一年的今天 calendar.add(Calendar.YEAR,-1); System.out.println(calendar.getTime()); //上一年上一月 calendar.add(Calen
阅读全文
摘要:hibernate 纯sql查询返回结果集(未关联映射)组装VO的问题//须保证别名字段与Vo字段一致 //引号中为vo对象属性需与sql查询返回字段一致.addScalar("chname").setResultTransformer(Transformers.aliasToBean(Vo.cla
阅读全文