org.springframework.orm.hibernate3.HibernateQueryException: admin is not mapped
[from admin a order by a.id desc]; nested exception is org.hibernate.hql.ast.Que
rySyntaxException: admin is not mapped [from admin a order by a.id desc]
是因为hql语句中 from后面必须是类名 ,因为hibernate是面向对象的。