Hibernate之Criteria離線查詢

@Test//離線查詢public void criteriaDemo6() {DetachedCriteria dCriteria = DetachedCriteria.forClass(Customer.class);dCriteria.add(Restrictions.idEq(2l));Session session = HibernateUtils.getCurrentSession()
相關文章
相關標籤/搜索