I have a Person, with a subclass of Programmer. They are mapped table- per-subclass, with a joined key, with a very significant number of rows in each table.
Every Person query (criteria, hql, queryover, linq) I do joins person and programmer, producing a significantly slower query than necessary when I only need person data. Is there any way to write a Person query such that there is no join against Programmer? I've looked at Polymorphism="Explicit", but have been entirely unable to get it working. Also, I found some HQL stating to do a 'where p.class = myClass', which produced the correct results, but still did the join. Any suggestions? Thanks, -Eric. -- 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.
