Skip to content

Fix Refresh and Load event listeners for entity proxy #2949

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 7, 2021

Conversation

bahusoid
Copy link
Member

@bahusoid bahusoid commented Nov 25, 2021

After some considerations I decided to go with local fixes similar to our others listeners:

@event.EntityName = source.BestGuessEntityName(entity);

Let's add to 5.3

Fixes #2727
Fixes #2928

@hazzik hazzik merged commit a7a0ebb into nhibernate:5.3.x Dec 7, 2021
@hazzik hazzik added the r: Fixed label Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Session.Refresh when entity is IFieldInterceptorAccessor throws a MappingException The session.Load(obj, id) overload can't handle proxies
3 participants