Did you find any fix for this problem?

Suhas

On Friday, 16 October 2009 20:40:41 UTC+1, felixg wrote:
>
> I have a class Organization, which has a set of Employee objects. 
> Employee descends from class User. In the mappings Employee is a 
> joined-subclass of User stored across 2 tables. The User has an 
> IsActive property/column, and I want the mapped Organization.Employees 
> set to have only active users. 
> I put IsActive=1 in the set mapping for Organization. But since it is 
> plain SQL with table name injection, the resulting SQL query prepends 
> the Employee table name for IsActive. While the correct table is of 
> course User. 
> Can I point NH to use the correct table name? I can open a JIRA ticket 
> with failing test if this isn't supported. 
> Felix.

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to