Edit, Post, Commit
Posted: Tue 19 Oct 2010 10:11
Hello.
Problem in the following.
I use at work with components the following scheme:
All works. I see in DbMonitor that record is sent on the server, and after command Commit I her see in other application
Further...
I do
And here...
In DbMonitor I see that on the server leaves комманда UPDATE, and in parametres new value leaves also weeding, however, after комманды Commit, the data on the server does not change
And I do not see these changes in other application.
It is a bug? Or I on a rake any come? Help, please.
Problem in the following.
I use at work with components the following scheme:
Code: Select all
PgConnection->StartTransaction();
PgQuery->Insert();
//Filling of the data of record
PgQuery->Post();
PgConnection->Commit();
Further...
I do
Code: Select all
PgConnection->StartTransaction();
PgQuery->Edit();
//I change for example in my case one of fields
PgQuery->Post();
PgConnection->Commit();
In DbMonitor I see that on the server leaves комманда UPDATE, and in parametres new value leaves also weeding, however, after комманды Commit, the data on the server does not change

And I do not see these changes in other application.
It is a bug? Or I on a rake any come? Help, please.