Skip to content

Conversation

jawad-arb123
Copy link
Member

old test (Postgres assumption):

Expected user2 to still be visible inside the parent transaction after its rollback.
This matches Postgres behavior: rolled-back rows can sometimes still be visible in the same transaction until the outer transaction ends.

New test (Oracle semantics):

Now expects user2 to disappear immediately after rolling back to the savepoint.
Oracle uses undo segments and ROLLBACK TO SAVEPOINT, which permanently discards changes from the inner transaction, so that even the parent can’t see them anymore.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 3, 2025
@ting-lan-wang ting-lan-wang merged commit 847d907 into main Sep 9, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants