We have implemented an WordAddin and use EF6 to connect to the oracle database. With the addin the user can load a document from the database. After editing the document the user closes the document. We use the DocumentBeforeClose-Event to update the document in the database. Only one user can edit and save the document in the database. The problem is, that sometimes in oracle row lock contentions exists. To my knowledge row lock means, that one transaction is update the row and another is waiting. Is it possible, that if the db connection during the SaveChanges is lost, the transaction is not committed? Or if word is closed unexpectly during the SaveChange?
After closing the document in word, word is closed per code, can that be the problem?