hql select new 应用
最近有很多朋友用到select new 方法。下面a56爆大奖在线娱乐给大家举个简单的例子。定义类:public class TycoonRow implements Serializable { private static final long serialVersionUID = -8902581963250812345L; private int id; private String name; public TycoonRow(int id, String name) { super(); this.id = id; this.checkNo = name; } public int getId...