ssh to get the hql statement of the largest id (the last record) in the data table

String hql="from mytable t where t.id= (select max(t.id) from t)";

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326320733&siteId=291194637