String hql="from mytable t where t.id= (select max(t.id) from t)";
ssh获取数据表中最大id(最后一条记录)的hql语句
猜你喜欢
转载自yzl495.iteye.com/blog/2390499
今日推荐
周排行