nhibernate/nhibernate-core — pull request #103 by hazzik (2012-05-10 18:38:31+00:00)
Title: NH3145: HQL query using base class entity with lazy properties throws "No Persister For"

https://nhibernate.jira.com/browse/NH-3145

When a base class is used in an HQL query and that base class has lazy properties and the base class has been initialized, the query throws a "No persister for" exception.

This does not happen for classes without lazy properties.
Neither does it happen if the reference to the base class has not been initialized.

GitHub pull request containing a testcase is on it's way

closes #102