Hi-
We are using Borland C++Builder with Midas.
All our DOA objects are on the Midas server and we access them from the client via clientdatasets and datasetproviders.
Our datasetprovider has the ResolveToDataSet attribute set to true.
TOracleDataSets' select clauses contains the rowid reference; locking mode is set to lockImmediate.
We have a problem with the following scenario:
1) A user load the data from our application.
2) Another user modify these data and apply the updates. A commit is then automatically executed by DOA.
3) When the first user calls ApplyUpdates(0) an error message shows that another user has modified the same data and a rollback is automatically executed by DOA. (Until then everything is correct!)
4) When the first user try to post other changes to the same dataset, DOA never commit again, except when the application is leaved.
How do I have to proceed to have the commit each time an apply updates is executed from the client application?
Thanks for your help!
Alain
We are using Borland C++Builder with Midas.
All our DOA objects are on the Midas server and we access them from the client via clientdatasets and datasetproviders.
Our datasetprovider has the ResolveToDataSet attribute set to true.
TOracleDataSets' select clauses contains the rowid reference; locking mode is set to lockImmediate.
We have a problem with the following scenario:
1) A user load the data from our application.
2) Another user modify these data and apply the updates. A commit is then automatically executed by DOA.
3) When the first user calls ApplyUpdates(0) an error message shows that another user has modified the same data and a rollback is automatically executed by DOA. (Until then everything is correct!)
4) When the first user try to post other changes to the same dataset, DOA never commit again, except when the application is leaved.
How do I have to proceed to have the commit each time an apply updates is executed from the client application?
Thanks for your help!
Alain