« Previous | Next » 

Revision 9c0df0db

ID9c0df0db3fb77b4bda39a891495f39a0b0383827
Parent afed2e46
Child 905631f8

Added by Karsten Dambekalns about 7 years ago

[BUGFIX] Use bin2hex in ObjectArray when using PostgreSQL

The ObjectArray type still uses serialize() to convert to the database
value, thus producing data that cannot be used as is for a BYTEA column.

With this change, the serialized string is run through bin2hex() when
writing to the database and through hex2bin on the way back, if the
system runs on PostgreSQL.

Change-Id: Ice2e9fe754f095ce00f12b313526982bde1ed6ab
Releases: master
Fixes: FLOW-132

  • added
  • modified
  • copied
  • renamed
  • deleted