“Update failed. Found 0 records” with pooling enabled
Posted: Fri 29 Jul 2016 10:38
Hello
We’ve migrated our application from ADO to SDAC.
The final step was to replace our own pooling to the SDAC functionality.
In the main application everything seems to work fine. But our automated tests aren’t working.
If we deactivate the pooling everything works, but not with pooling enabled.
At some point the exception “Update failed. Found 0 records” is thrown.
The StrictUpdate options is enabled and we'd like to keep it that way.
Our first assumption was the big amount of SQL Statements in these test’s, which will be executed in a small amount of time.
But we couldn’t find any indications.
It’s noteworthy that we updated the SDAC Source for our needs in terms of getting the actual id with IDENT_CURRENT.
We tried to set up a test project for you but it’s difficult because there are many dependencies on our own code.
Any suggestions would be appreciated because this problem gives us a headache.
Best regards
We’ve migrated our application from ADO to SDAC.
The final step was to replace our own pooling to the SDAC functionality.
In the main application everything seems to work fine. But our automated tests aren’t working.
If we deactivate the pooling everything works, but not with pooling enabled.
At some point the exception “Update failed. Found 0 records” is thrown.
The StrictUpdate options is enabled and we'd like to keep it that way.
Our first assumption was the big amount of SQL Statements in these test’s, which will be executed in a small amount of time.
But we couldn’t find any indications.
It’s noteworthy that we updated the SDAC Source for our needs in terms of getting the actual id with IDENT_CURRENT.
We tried to set up a test project for you but it’s difficult because there are many dependencies on our own code.
Any suggestions would be appreciated because this problem gives us a headache.
Best regards