select o from tableName o where o.name='zhangsan'
。select o from tableName o where o.name=:n
select o from tableName o where o.name='zhangsan'
select o from student o where o.class=:class
,存储的别名是 selectStudent,取第一页的10条,那么方法如下:select o from student o where o.class=:class
,存储的别名是 selectStudent,取第一页的10条,那么方法如下: