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
The method cleanSnaphostHistory uses a JQPL query to test for deprecated snapshots. As the query method runs within a new transaction (new feature since 5.1.9) we can not be sure if the result set is valid within the current transaction. So it might be that the call
documentService.remove(oldSnapshot)
failed with a EJBException. To avoid this situation (which is rolling back the wole transaction) we need to test if the current document is available. For that we can simply call the load method and see if the document was found in this transaction.
The text was updated successfully, but these errors were encountered:
The method cleanSnaphostHistory uses a JQPL query to test for deprecated snapshots. As the query method runs within a new transaction (new feature since 5.1.9) we can not be sure if the result set is valid within the current transaction. So it might be that the call
failed with a EJBException. To avoid this situation (which is rolling back the wole transaction) we need to test if the current document is available. For that we can simply call the load method and see if the document was found in this transaction.
The text was updated successfully, but these errors were encountered: