05 2017 档案

摘要:Criteria的完整用法 QBE (Query By Example) Criteria cri = session.createCriteria(Student.class); cri.add(Example.create(s)); //s是一个Student对象 list cri.list() 阅读全文
posted @ 2017-05-25 13:29 MrMrCash 阅读(190) 评论(0) 推荐(0)
摘要:1,Criteria Hibernate 设计了 CriteriaSpecification 作为 Criteria 的父接口,下面提供了 Criteria和DetachedCriteria 。 2,DetachedCriteria Spring 的框架提供了getHibernateTemplate 阅读全文
posted @ 2017-05-25 13:27 MrMrCash 阅读(233) 评论(0) 推荐(0)
摘要:import org.apache.commons.io.FileUtils; import org.apache.commons.io.filefilter.DirectoryFileFilter; import org.apache.commons.io.filefilter.FileFileFilter; import org.apache.commons.io.filefilter.Fi... 阅读全文
posted @ 2017-05-24 11:45 MrMrCash 阅读(5607) 评论(0) 推荐(0)
摘要:本工具类基于httpclient4.5.1实现 <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5.1</version> </depen 阅读全文
posted @ 2017-05-11 02:05 MrMrCash 阅读(3275) 评论(0) 推荐(0)