Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DBeaver dump column with json doesn't escape correctly

See original GitHub issue

System 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:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

fraparisicommented, Nov 18, 2020

No interesting log there but it seems that last version 7.2.5 resolved my issue. thanks a lot 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found