2008/11/12 Jon Stelly <[EMAIL PROTECTED]>

>  Does this mean I'd need to specify a <meta-value>
> for any possible derived type that could end up in TargetEntity?  This
> would be over 200 different values, and I'd need to constantly keep
> this <any> relationship updated with new releases.


Not that mean that you want specify the meta-value.
Remove the <meta-type> and <meta-value> from the mapping.
Define :  <column name="TargetEntityType" length="500"/>
And take a look about what happen ;)

I don't know your use case but in NH2.1 (trunk) you can use generics and
avoid <any>.
http://fabiomaulo.blogspot.com/2008/10/entity-name-in-action-strongly-typed.html

and the same but changing the mapping
http://fabiomaulo.blogspot.com/2008/10/power-of-orm.html

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

Reply via email to