Hi,
   I have a base class B and 2 subclasses S1 and S2 which are mapped
using subclass (table per hierarchy). I have another class C that has
a property of Type B (the base class) which is mapped as many-to-one
to B.

I have to write a query now against class C but I want only those that
have a relationship with S1, can someone please help me on how to
write this using Criteria API?

Thanks
Job Samuel

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