Sorry -- that's http://groups.google.com/group/nhusers<http://groups.google.com/groups/nhusers>
(my error for typing from memory only) Steve Bohlen [email protected] http://blog.unhandled-exceptions.com http://twitter.com/sbohlen On Fri, Dec 10, 2010 at 8:17 AM, Stephen Bohlen <[email protected]> wrote: > 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> > **************************************************************** > > >
