HQL增删改语句

查询:对象 select p from Person p where p.name=?0get 删除:it delete from Person p where p.id=?0io 更新语句:date update Person p set p.name=?0,p.sex=?1 where p.id=?2select 补充hql参数绑定:im ***setParameter(属性名,真实值,类型)
相关文章
相关标签/搜索