This list is to discuss the development of NH rather than its use by other developers.
Please direct your post to the NHUSERS group here: http://groups.google.com/groups/nhusers Regards, -Steve B. -----Original Message----- From: "Junior... Joao Bosco" <[email protected]> Sender: [email protected] Date: Fri, 10 Dec 2010 04:32:16 To: nhibernate-development<[email protected]> Reply-To: [email protected] Subject: [nhibernate-development] SubClass into subClass My doubt is as follows .. must have the following classes of employee .. as salesman, manager, driver ... attributes in common with (employees) and other different position for that occupation in the company ... but how can I create a more inheritance below if not I can have a discriminator within a subclass? *************************************************************** <class name="Pessoa" table="PessoaDb" > <id name="ID" type="int" column="codPessoa"> <generator class="identity"/> </id> <discriminator column="Tipo" type="String" /> </class> *************************************************************** <subclass name="Funcionario" extends="Pessoa" discriminator- value="Funcionario"> <join table="FuncionarioDb"> <key column="ID" /> </join> </subclass> ****************************************************************
