Hibernate分页查询代码 /** * 分页查询 */ public List<Ptuser> fenye(int pagenum,i
/** * 根据id删除普通用户 */ public void deleteById(int id) { System.out.println("deleteById"); //获得session Session session = hibernateTemplate.getSessionFactory().openSession(); String str = "delete fro
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号