|Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread|
|Messages 1 to 3 of 3 total|
|Transaction active after commit|
|Tue, Aug 7 2012 12:54 PM||Permanent Link|
Here some sample code to update a value:
dsPatienten.columns ['Vorname'].asString := 'John';
Everything works fine, json is sent to my server, I am able to update
the record in the database.
After that however, no request is sent to the server any more - trying
to close the dataset dsPatient results in this error:
"Cannot close the "dsPatienten" dataset while there are still active
transaction operations for the dataset".
|Thu, Aug 9 2012 4:21 AM||Permanent Link|
No idea, why, but the problem doesn't occur any more. Maybe I missed to
send a 200 StatusCode from the server.
|Thu, Aug 9 2012 12:53 PM||Permanent Link|
Tim Young [Elevate Software]
Elevate Software, Inc.
<< No idea, why, but the problem doesn't occur any more. Maybe I missed to
send a 200 StatusCode from the server. >>
More than likely, yes, that is the issue. A commit error like this only
triggers the OnCommitError currently, and does not raise an exception. This
is probably not desirable, though, so I'm going to have the OnCommitError,
OnRollbackError, and OnLoadError events only "eat" the error if an event
handler is defined for the event. Otherwise, the event handler will be
called, and it is up to you to raise an exception, if you want.
If you have any other questions, please let me know.
This web page was last updated on
Saturday, June 3, 2023 at 10:17 AM
© 2023 Elevate Software, Inc. All Rights Reserved
Questions or comments ? E-mail us at firstname.lastname@example.org