Hi

it is possible to do following using criteria:

select m, mt from Message m, MessageType mt
where m.TypeId = mt.Id
and m.TypeId = 2

Message and MessageType tables are not mapped together.

Thanks in advance for your help.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to