摘要:
分页从网上考的,好用。这个框架/*** 用于分页的工具类* @author 莫取网名*/public class Pager {private List list; //对象记录结果集private int total = 0; // 总记录数private int limit = 10; // 每... 阅读全文
摘要:
hql语句 String hql = "from Song where name like '%"+text+"%' or singer like '%"+text+"%' or alumn like '%"+text+"%' ";去重。重写pojo类的equals 和hascode。 @Overr... 阅读全文