Question: hql how to use update?
Answer: HQL update Query Example : marks=50 where s. studentId=sId; To execute the non-select operations (update, delete, insert) also, we need to have the Hibernate Query object. By calling the executeUpdate() method on query object, we can fire the HQL non-select commands.