Federico Di Gregorio <fog-NGVKUo/i/6DYtjvyW6yDsg@xxxxxxxxxxxxxxxx> writes:
> and let me add that the conexao.commit() method is much better.
It depends. It is better if you don't have intermediate steps that are
needed to commit the original data.
We have an app where the user has to fill some forms, and there are
places where he might need to fill another form to make data available
for the original one. We can't commit everything because the form isn't
complete and the commit would fail.
Using per cursor commits, we can create a new cursor for the secondary
form and then commit it, going back to the original form and only then
commiting everything.
--
Godoy. <godoy-EkmVulN54Sk@xxxxxxxxxxxxxxxx>
|