摘要: package com.gordon.test; import java.util.List; import org.hibernate.Criteria; import org.hibernate.Session; import org.hibernate.Transaction; import org.hibernate.criterion.DetachedCriteria; impor... 阅读全文
posted @ 2017-08-24 15:03 GordonDicaprio 阅读(427) 评论(0) 推荐(0)
摘要: 01.环境搭建 02.基本查询 1.方法说明 方法 说明 Restrictions.eq = Restrictions.allEq 利用Map来进行多个等于的限制 Restrictions.gt > Restrictions.ge >= Restrictions.lt < Restrictions. 阅读全文
posted @ 2017-08-24 14:37 GordonDicaprio 阅读(427) 评论(0) 推荐(0)
摘要: QBC查询方式 01.基本查询 02.组合查询 03.关联查询 04.分页查询 05.QBE查询 06.离线查询 阅读全文
posted @ 2017-08-24 14:33 GordonDicaprio 阅读(266) 评论(0) 推荐(0)
摘要: 01.搭建开发环境 02.子查询 阅读全文
posted @ 2017-08-24 09:50 GordonDicaprio 阅读(222) 评论(0) 推荐(0)
摘要: 01.搭建开发环境 02.连接查询 阅读全文
posted @ 2017-08-24 09:43 GordonDicaprio 阅读(331) 评论(0) 推荐(0)
摘要: 01.搭建开发环境 02.条件查询 阅读全文
posted @ 2017-08-24 09:22 GordonDicaprio 阅读(309) 评论(0) 推荐(0)
摘要: 01.搭建环境 02.分页查询 阅读全文
posted @ 2017-08-24 09:17 GordonDicaprio 阅读(261) 评论(0) 推荐(0)