-
DescriptionI am having an unexpected issue. When updating rows using the query grid result, and then save, I often found that the database didn't update. Yesterday, I updated about 100 rows--one at the time--and found that about 40 never updated even when it shows at the bottom of the grid that the rows were updated. If I open another query and pull the same records, I find them not updated. I am not sure what this is, or if this has to do with this specific version. I will try an earlier version and see if I get the same result. DBeaver Version24.2 Operating SystemLinux Database and driverMariaDB Steps to reproduce
Additional contextThe updates are done remotely using a linux workstation. The database is also on a linux server. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Beta Was this translation helpful? Give feedback.
-
Thank you Elizabeth,
Right! Somehow I thought the commit was included in the saving option. I did find, in the documentation, that I could auto-commit by default. So I set it up and now understand why the development connection type auto-commit and why the production doesn't auto-commit. So when I changed from Dev to Prod, I didn't notice that the auto-commit was not enabled on the Prod connection type. This is now resolved. Thank you for your directions.
Robert
|
Beta Was this translation helpful? Give feedback.
-
Thank you Elizabeth,
Right! Somehow I thought the commit was included in the saving option.
Here is a question that might sound stupid to you. Can I do a commit after several queries and changes, or do I have to do a commit after every query and save?
Robert
|
Beta Was this translation helpful? Give feedback.
-
Yes, you can do Commit after several changes |
Beta Was this translation helpful? Give feedback.
DBeaver executes those updates in Transactions. The transaction state is shown in the Main toolbar at the top, and the counter shows the count of queries in the current transaction.
To apply changes, please press the Commit button.
If you want your changes to be applied immediately, please uncheck the
Smart commit mode
option hereor in
Connection configuration->Connection settings->Transactions