nhibernate-core icon indicating copy to clipboard operation
nhibernate-core copied to clipboard

Fixes #3713: query cache result transformer aliases issue

Open delta-emil opened this issue 1 month ago • 1 comments

I don't know if this is the most elegant way to solve the issue, but it does solve it, at least for the case I found. I'm not sure if other Loader sub-classes also need something similar.

fix #3713

delta-emil avatar Oct 29 '25 13:10 delta-emil

Thanks for the contribution,

This issues would mean #3169 was not fixed for all cases.

Looking at its fix, #3184, it might be due to some paths not using an adequate overload, like here: https://github.com/nhibernate/nhibernate-core/blob/d8cde71481d006c5473cdfa648dd44c996c48115/src/NHibernate/Cache/IQueryCache.cs#L172-L179

It looks worth checking, but I have done it yet.

Edit: well, that path is used only with obsolete query caches, which is not the case for the trouble here.

fredericDelaporte avatar Nov 09 '25 18:11 fredericDelaporte