hi..
 
i was trying to figure how to solve this : http://opensource.atlassian.com/projects/hibernate/browse/HHH-3856
 
as it occurred to me that a user can put any column the want in the where clause, a column which may exists only in the sub class join table (not the case here).
 
i don't know how exactly hibernate decides to place the where caluses