Additional info:

"role" id the discriminator field.

 

 

From: Sandhiya [mailto:[email protected]] 
Sent: 23 Mei 2011 14:50
To: '[email protected]'
Subject: RE: [nhusers] Quick Question - Component Inheritance

 

Thanks for the reference.

I will assume the answer for my question is NO, since I can't find any info
on that.

So I will remodel my domain object, and change this inheritance as entity
not as a value object.

And maybe we also have to alter some tables.

 

But in my opinion, this (component inheritance) should be possible.

Especially to support old legacy database. Here is my case (per hierarchy
inheritance),

 

USER table:

id (int, PK)

username (varchar, unique)

password (varchar, not null)

role  (varchar, null)

additional fields for the concrete class (null)...

 

 

 

From: [email protected] [mailto:[email protected]] On Behalf
Of Berke Sokhan
Sent: 20 Mei 2011 18:28
To: [email protected]
Subject: Re: [nhusers] Quick Question - Component Inheritance

 

Hello,

Not the 3.1, but this is the best inheritance ref I know:

http://ayende.com/blog/3941/nhibernate-mapping-inheritance

HTH.

2011/5/20 Sandhiya <[email protected]>

Hi,

Can anyone give/point me to 'official references' about component
inheritance support in Nhibernate 3.10 ?
Already google it, but never find any reference about that.

Thanks



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