DBeaver dump column with json doesn't escape correctly
See original GitHub issueSystem information:
- Windows 10
- DBeaver version 7.24
Connection specification:
- MySql 5.7, MariaDB 10.5
- MariaDb
- SSH
Describe the problem you’re observing:
Starting from version 7.2.1 i cannot dump and restore correctly row with json inside (column type is a longtext).
I observe that when there is some text inside taken from a WYSIWYG and so with some “\n”, the text is not escaped correctly.
For example a json dumped with version higher than 7.2.0 has this result:
{ "corporateBenefitsHealthTextTitle1":"ACCIDENT INSURANCE\n" }
and cannot be deserialized correctly.
The same taken with version 7.2.0 has this result:
{ "corporateBenefitsHealthTextTitle1":"ACCIDENT INSURANCE\\n" }
and this works
Steps to reproduce, if exist:
Column long text with some json inside with “\n” character and next dump and restore.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Json-data is empty without any error when inserted in ...
If I do it from the graphical database management tool (dbeaver) all is OK: all values correctly insert up into columns. Without any...
Read more >DBeaver user guide
To order data by several columns, go column by column, setting the order with the Ordering icon, starting from the column by which...
Read more >Database import utf8 encoded data (from .sql)
I am using tools->export and tools-> import for this procedure. I have found an alternative solution, which is to import the table with...
Read more >Two features of DBeaver that every database manager should ...
Data import and export. The DBeaver we have today can import data from CSV files and save tables or query results in several...
Read more >DBeaver | Exasol DB Documentation
Solution: The issue occurs when DBeaver uses the platforms linefeed convention CRLF. R scripts need to be complied with the linefeed convention LF....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
No interesting log there but it seems that last version 7.2.5 resolved my issue. thanks a lot 😃
https://dbeaver.com/docs/wiki/Log-files/