You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the message says: Savepoint not established. Implicit commit might have occured.
That message is not saying what is wrong to the users.
A message like:
Unable to perform automatic rollback after procedure: my_demo_test_package.cleanup
An implicit or explicit commit/rollback occurred.
Use the %rollback(manual) annotation or remove commits/rollback/ddl statements that are causing the issue.
To be able to point to a point, where rollback was to be performed, we need to pass the ut_executable to rollback_to_savepoint procedure.
The text was updated successfully, but these errors were encountered:
I was thinking of following approach:
In ut_suite_item have start_transaction_id.
The value of that variable would be set when savepoint is created (using DBMS_TRANSACTION.LOCAL_TRANSACTION_ID)
Inside ut_executable we can reference the value of start_transaction_id from the self passed by invoking test/suite.
We could then check in the ut_executeable, after executing block, if transaction id is still the same.
If it's NULL or it is changed, commit/rollback was done.
This way we can identify exactly where the savepoint was broken and provide a proper error/failure/warning message.
Currently the message says:
Savepoint not established. Implicit commit might have occured.
That message is not saying what is wrong to the users.
A message like:
To be able to point to a point, where rollback was to be performed, we need to pass the
ut_executable
torollback_to_savepoint
procedure.The text was updated successfully, but these errors were encountered: