After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 411984 - GdaDataModelHash does not implement update_row
GdaDataModelHash does not implement update_row
Status: RESOLVED FIXED
Product: libgda
Classification: Other
Component: general
unspecified
Other Windows
: Normal normal
: ---
Assigned To: Rodrigo Moya
gnome-db Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-02-25 18:48 UTC by Armin Burgmeier
Modified: 2007-02-28 19:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Straightforward update_row implementation for GdaDataModelHash (2.49 KB, patch)
2007-02-25 18:49 UTC, Armin Burgmeier
none Details | Review

Description Armin Burgmeier 2007-02-25 18:48:59 UTC
update_row is required by GnomeDbGrid to commit changes to the DataModel. When a GnomeDbGrid shows a GdaDataModelHash, it therefore produces an error when one wants to write changes back into the model.
Comment 1 Armin Burgmeier 2007-02-25 18:49:56 UTC
Created attachment 83319 [details] [review]
Straightforward update_row implementation for GdaDataModelHash
Comment 2 Murray Cumming 2007-02-28 17:16:16 UTC
Nobody has objected, so please apply.

When would you want to put a GdaDataModelHash in a GnomeDbGrid?
Comment 3 Armin Burgmeier 2007-02-28 19:40:43 UTC
Applied.

The result of gda_connection_execute_select_command is a GdaDataModel (that you could wish to show in a grid). The implementation seems to depend on the provider, but at least the sqlite provider uses GdaDataModelHash (or a derived type).