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

Avoid warning in Eclipselink for already flushing #9

Open
ethlo opened this issue Jul 30, 2019 · 0 comments
Open

Avoid warning in Eclipselink for already flushing #9

ethlo opened this issue Jul 30, 2019 · 0 comments
Assignees
Milestone

Comments

@ethlo
Copy link
Owner

ethlo commented Jul 30, 2019

The class RepeatableWriteUnitOfWork is already flushing. The query will be executed without further changes being written to the database. If the query is conditional upon changed data the changes may not be reflected in the results. Users should issue a flush() call upon completion of the dependent changes and prior to this flush() to ensure correct results.

Attempt to avoid this by doing a conditional flush

@ethlo ethlo self-assigned this Jul 30, 2019
@ethlo ethlo added this to the 0.9.3 milestone Jul 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant