Defect #717
closed
Cannot save 0x00 to Postgres column
Added by Vít Švanda about 7 years ago.
Updated about 7 years ago.
Description
org.postgresql.util.PSQLException: ERROR: invalid byte sequence for encoding "UTF8": 0x00
- Subject changed from Cannot save 0x00 to Postgress column to Cannot save 0x00 to Postgres column
- Assignee changed from Vít Švanda to Ondřej Kopr
- % Done changed from 0 to 90
Fixed:
- Problem was in character 0x00. This "null" char cannot be save in Postgres DB.
- I created StringToStringConverter, when string contains this char, then is replaced with "".
- I created Test for this situation in DefaultSynchronizationTest (this test have good sence only via Postgres DB not via H2 DB).
- Status changed from In Progress to Needs feedback
- Status changed from Needs feedback to Resolved
- Assignee changed from Ondřej Kopr to Vít Švanda
- % Done changed from 90 to 100
I was tested via your test (start trough postgresql database), works thank you
- Status changed from Resolved to Closed
- Related to Defect #2684: Some messages are missing in the Logging events added
Also available in: Atom
PDF