i have the Following HQL:
String hql = "UPDATE Buchung as b " +
"set STORNO = :Storno " +
"where ID = :BuchungID";
Is it possible to Update more then one column in a HQL? For Example:
String hql = "UPDATE Buchung as b " +
"set STORNO = :Storno " +
"…
i have the following hibernate mapping:
<class name="Domain.Roomreservation, Core" table="Reservationroom">
<id name="ID" unsaved-value="undefined">
<generator class="native">
<!--<param name="sequence">GLOBALSEQUENCE</param>-->
&…
I'm trying to write an HQL query which will calculate an average rating for an item. I want the query to return 0 instead of null when there are no rating for a given item - so that I can use …