hibernate 查询框架DetachedCriteria
DetachedCriteria关联查询:DetachedCriteria detachedCriteria = DetachedCriteria.forClass(User.Class)detachedCriteria.createCriteria("集合属性").add(Restrictions.like("doorId",1));或者detachedCriteria.cr...
原创
2014-12-17 21:45:14 ·
149 阅读 ·
0 评论