用hibernate的hql语句怎样对数据库中的数据进行更新
用hibernate的hql语句怎样对数据库中的数据进行某些属性的更新
我这样写一直报错update Users as u set u.address=?,u.phone=?,u.email=?,u.postcode=? where u.userid=?
报错信息为
org.hibernate.hql.QueryExecutionRequestException: Not supported for DML operations [update com.dyf.domain.Users as u set u.address=?,u.phone=?,u.email=?,u.postcode=? where u.userid=?]