i have the Following HQL:
String hql = \"UPDATE Buchung as b \" +
\"set STORNO = :Storno \" +
\"where ID = :BuchungID\";
The syntax is similar to the SQL syntax, but with mapped fields/properties instead of columns:
update Buchung set storNo = :storno, name = :name where id = :buchungID
Note that if the goal is to modify a single entity instance, you'd better do
Buchung b = (Buchung) session.get(Buchung.class, buchungId);
b.setStorNo(newStorno);
b.setName(newName);