2009/3/4 Scott Belchak <[email protected]> > Should the ID be set to the subclasses key? Or should it not even exist at > all?
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="RedBranch.LeagueFinder.Model" namespace="RedBranch.LeagueFinder.Model"> <class name="League"> <cache usage="read-write" /> <id name="Id"> <generator class="guid" /> </id> <joined-subclass name="MlbLeague"> <key column="MlbLeagueId" /> </joined-subclass> <joined-subclass name="NflLeague"> <key column="NflLeagueId" /> </joined-subclass> </class> </hibernate-mapping> BTW "NHibernate Inheritance bug with Critiera", "I am stumped" ....bah?!?!?!? Some base concepts of ORM is available here http://nhusers.googlegroups.com/web/WhitePaper_Mapping_Objects_To_Relational_Databases.pdf -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
