Hello,
We have a problem that we think is a bug. This HQL sett command:
const string hql = @"delete from ReservedOrderedProductRow ropr
where ropr.ContractProductRowInfo.ContractInfo.Id =
:id";
var command = session.CreateQuery(hql);
command.SetParameter("id", contractId);
command.ExecuteUpdate();
session.Flush();
Genereates the following T-SQL:
delete
from ReservedOrderedProductRow,
ContractProductRow contractpr1_
where ContractId='0f07e68b-7432-4214-b936-e9f0747760aa' /* @p0 */
Nedless to say, this is invalid T-SQL syntax. Bug or working as intended?
--
Patrik Löwendahl
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.