Hi guys,
So I was wondering whether it is best to update multiple rows in a database using an hql query or calling nhibernates save after modifying each object.. I know that the answer is the HQL query but please give me adequate reasons for the same. but there are disadvantages of using an HQL query right like my API has a hard dependency on the model if any change in the property name i hv to explicitly remember the existence of this query.
So do the pros outway the cons if yes after please quantify.
Thanks. Awaiting your answers.