-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
sql: investigate the hibernate test org.hibernate.jpa.test.emops.RemoveTest testUpdatedAndRemove #26799
Comments
Can you include a SQL trace of what is received from hibernate in CockroachDB, and in PostgreSQL for comparison? Thanks |
@BramGruneir This issue is improperly qualified. It does neither state what is the deviation (difference between expected behavior and actual behavior) nor what action items should be carried out. Unless you provide either (preferably both), we can't do anything with this. |
The expected and actual behaviours are spelled out in the top issue. More investigation is required here. |
Then the title of the issue is wrong. I am renaming. |
This test has been passing in Hibernate |
Not sure of the root cause here, but here are the details.
This works when tested directly using two cockroach sql command lines, but the test fails.
transaction 1, open but don't commit it:
transaction 2, while transaction 1 is still open:
back to transaction 1:
It correctly fails with
However, this completes incorrectly in:
org.hibernate.jpa.test.emops.RemoveTest testUpdatedAndRemove
From what I can tell, it looks like each statement was issued as a single transaction.
The text was updated successfully, but these errors were encountered: