**Lee Timmins** created an [issue](https://nhibernate.jira.com/browse/NH-3982) — <time datetime="2017-04-12T09:29:54.780Z" title="2017-04-12T09:29:54.780Z">12th April 2017, 9:29:54</time>: > This is related to https://nhibernate.jira.com/browse/NH-3186. However if you say: > > var query = db.Users > **.Cacheable()** > .Fetch(x => x.Role) > .Where(x => x.Name == "xxx") > .SingleOrDefault(); > > Then you get the same error thrown in the ticket above. I am currently upgrading from version 3.3.4 and this used to work fine. >