随笔 - 83  文章 - 0  评论 - 28  阅读 - 28万
  2012年12月21日
摘要: Session session = this.getSessionFactory().getCurrentSession(); Criteria criteria = session.createCriteria(DisInfo.class, "d"); criteria.createAlias("d.resources", "r", Criteria.INNER_JOIN); criteria.add(Restrictions.in("r.area.id", new Integer[]{3,5})); crite 阅读全文
posted @ 2012-12-21 15:51 cfd406635982 阅读(396) 评论(0) 推荐(0) 编辑
摘要: org.springframework.beans.factory包下有一个接口是InitializingBean 只有一个方法:/** * Invoked by a BeanFactory after it has set all bean properties supplied * (and satisfied BeanFactoryAware and ApplicationContextAware). * <p>This method allows the bean instance to perform initialization only * possible when 阅读全文
posted @ 2012-12-21 12:01 cfd406635982 阅读(27564) 评论(0) 推荐(0) 编辑
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示