C
Cyril Gupta
Hello,
I am having a little problem here with concurrent connections to the database.
My application has a permanent connection to the database that I am using
to Retrieve information. All of my updations are done using transactions
and for that I create a new connection to the database (as some of my update
operations also retrieve info).
Now this seems to work just fine on paper - the transaction to the new connection
works fine, and the older connection also retrieves data fine.
The problem is that once I Commit a transaction, it takes a little while
for it to update the MS Access DB that I have. Meanwhile when my former connection
retrieves information, it fetches older data, some of which is invalidated.
So basically I want to make sure that after committing a transaction from
another connection, I still get the same data when I query next.
I have tried using IsolationLevel(ReadUncommitted)... But that's not working
for me.
Any ideas?
Regards,
Cyril Gupta
- You can do anything with a little bit of 'magination.
- I've been programming so long, my brain is now soft-ware.
I am having a little problem here with concurrent connections to the database.
My application has a permanent connection to the database that I am using
to Retrieve information. All of my updations are done using transactions
and for that I create a new connection to the database (as some of my update
operations also retrieve info).
Now this seems to work just fine on paper - the transaction to the new connection
works fine, and the older connection also retrieves data fine.
The problem is that once I Commit a transaction, it takes a little while
for it to update the MS Access DB that I have. Meanwhile when my former connection
retrieves information, it fetches older data, some of which is invalidated.
So basically I want to make sure that after committing a transaction from
another connection, I still get the same data when I query next.
I have tried using IsolationLevel(ReadUncommitted)... But that's not working
for me.
Any ideas?
Regards,
Cyril Gupta
- You can do anything with a little bit of 'magination.
- I've been programming so long, my brain is now soft-ware.