hsql写的查询语句,那个表名是对应着你po类的类名
String hql="from XSubject ";它的查询语句如下(XSubject是我po类的类名,二subject是对应的数据库表名)
select
xsubject0_.id as id1_22_,
xsubject0_.subjectName as subjectN2_22_
from
Subject xsubject0_
hsql写的查询语句,那个表名是对应着你po类的类名
String hql="from XSubject ";它的查询语句如下(XSubject是我po类的类名,二subject是对应的数据库表名)