2013-02-19 104 views

回答

0
String hqlUpdate = "update Customer c set c.name = :newName where c.name = :oldName"; 

請參閱 「Hibernate Reference Documentation: DML-style operations

+0

謝謝您的回答但我認爲你沒有注意到IN聲明。基本上用他們自己的特定標準更新多行是我的問題旋轉的地方。 – MikeGte 2013-06-24 18:43:24