Query string in HQL query object:
select vi, 0 from TableA vi
where (vi.Name= ? and ((vi.State in (?,?) and vi.VID = ?) or
(vi.State in (?,?) and vi.VID <> ? and vi.IID = ?)))
Where clause part captured in SQL Server Profiler:
where MappedTableA.MappedName = 'AA' and ((MappedTableA.MappedState
in ('S', 'E')) and MappedTableA.MappedVID = 'MyID' or
(MappedTableA.MappedState in ('S','B')) and MappedTableA.MappedVID <>
'MyID' and MappedTableA.MappedIID = 'HisID')
--
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.