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

HHH-12923 Hibernate is both logging and throwing the error: HHH000346:Error during managed flush #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Vydruth
Copy link

@Vydruth Vydruth commented Aug 24, 2018

You can reproduce the issue by running "mvn clean install" or by just running the specific test under test-case-template-hibernate-orm5/src/test/java/org/hibernate/bugs/JPAUnitTestCase.java in my code

In the console you will be able to see the error being both logged and thrown.

@vladmihalcea
Copy link
Contributor

If you have a replicating test case for a Hibernate issue, you need to either:

  1. Open a Jira issue and attach this test case
  2. Send a Pull Request to the Hibernate ORM project.

Thanks

@Vydruth
Copy link
Author

Vydruth commented Aug 24, 2018

I have linked the PR to the JIRA: https://hibernate.atlassian.net/browse/HHH-12923.

Would you want me to just comment a link to my repo on that JIRA?

@vladmihalcea
Copy link
Contributor

It's fine. The test case can be taken from here. It's important it's mentioned in Jira. Thanks.

@charlesritchea
Copy link

@vladmihalcea can we get some movement on this, it's natural to use optimistic locking in a happy path scenario with a retry or ignore handler, so it's annoying having an always ERROR log in there

@vladmihalcea
Copy link
Contributor

@charlesritchea I haven't been working for Red Hat since March 2019, so I have no idea whether the Hibernate ORM team considers integrating this or not. You should add a comment on the Jira issue or create a Pull Request that fixes the problem.

Base automatically changed from master to main March 19, 2021 13:39
@marko-bekhta marko-bekhta changed the title Hibernate is both logging and throwing the error: HHH000346:Error during managed flush HHH-12923 Hibernate is both logging and throwing the error: HHH000346:Error during managed flush Jun 24, 2024
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

Successfully merging this pull request may close these issues.

3 participants