{"issue":{"created_at":"2011-10-17T23:08:40Z","state":"open","updated_at":"2011-12-01T23:18:12Z","comments":6,"user":{"gravatar_id":"a9589c9296900c024e432cc8c05d1aaa","id":290294,"url":"https://api.github.com/users/gliljas","avatar_url":"https://secure.gravatar.com/avatar/a9589c9296900c024e432cc8c05d1aaa?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"gliljas"},"body":"Fixed by ignoring/removing ownerless fetches in the select clause. Somewhat crude approach, but it works very well.","assignee":null,"labels":[],"id":1934590,"pull_request":{"patch_url":"https://github.com/nhibernate/nhibernate-core/pull/23.patch","html_url":"https://github.com/nhibernate/nhibernate-core/pull/23","diff_url":"https://github.com/nhibernate/nhibernate-core/pull/23.diff"},"number":23,"title":"NH-2846","closed_at":null,"html_url":"https://github.com/nhibernate/nhibernate-core/issues/23","url":"https://api.github.com/repos/nhibernate/nhibernate-core/issues/23","milestone":null},"action":"created","comment":{"created_at":"2011-12-01T23:18:12Z","updated_at":"2011-12-01T23:18:12Z","user":{"gravatar_id":"7ac76e8c1646dc0383272bb0142d266c","id":379473,"url":"https://api.github.com/users/patearl","avatar_url":"https://secure.gravatar.com/avatar/7ac76e8c1646dc0383272bb0142d266c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"patearl"},"body":"Though automatically generating HQL is more rare, the same idea applies to both.  It seems the fetch can safely be removed in either case without causing any problems.  I plan to merge your original change.  It's rather unfortunate that all those whitespace changes are there.","id":2983710,"url":"https://api.github.com/repos/nhibernate/nhibernate-core/issues/comments/2983710"}}