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(屬性名,真實值,類型)
相關文章
相關標籤/搜索