Skip to content
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

No way of detecting if AutoFlush performed in added AutoFlushEventListener #3188

Merged
merged 2 commits into from
Oct 27, 2022

Conversation

kostgr
Copy link
Contributor

@kostgr kostgr commented Oct 25, 2022

No way of detecting if AutoFlush performed when extending DefaultAutoFlushEventListener

Result of AutoFlushIfRequired is always false for FlushMode.Auto. This is caused by repeated call of FlushIsReallyNeeded(). But if the Flush is needed in Auto-Mode, then it is done and successive call of FlushIsReallyNeeded() returns false.

Konstantin Tkachenko and others added 2 commits October 25, 2022 14:39
…FlushEventListener

Result of AutoFlushIfRequired is always false for FlushMode.Auto.
This is caused by repeated call of FlushIsReallyNeeded(). But if the Flush is needed in Auto-Mode, then it is done and successive call of FlushIsReallyNeeded() returns false.
bahusoid
bahusoid previously approved these changes Oct 25, 2022
@hazzik hazzik merged commit d182220 into nhibernate:master Oct 27, 2022
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.

4 participants