'How to add parameter in hql when we want to do it for all rows , I want to update email for all entries to [email protected]

  session.createQuery
  ("update Student s set email='[email protected]'")
  .executeUpdate();

Ive Student class with String firstName



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source