[nhusers] Re: Polymorphic HQL association issue

2010-02-20 Thread Sergey Ishchenko
Thank you, Fabio! All of my tests pass now. On 18 фев, 20:24, Fabio Maulo wrote: > sorry... was too short > > An "any" type has the special properties id and class, allowing us to > express a join in the following way (where AuditLog.Item is a property > mapped with ). > > from Eg.AuditLog log, E

[nhusers] Polymorphic HQL association issue

2010-02-18 Thread Sergey Ishchenko
Hi! I've got two simple classes ClassA and ClassB mapped with table-per- concrete-class strategy. IssueClass can contain a reference to ClassA or to ClassB. Here is the mapping file: