DBAL-368: array and object types should use BLOB, not CLOB, to store serialized data #1557

Closed
doctrinebot opened this Issue Oct 19, 2012 · 6 comments

2 participants

@doctrinebot

Jira issue originally created by user k-fish:

When using array or object types, PHP's serialize() is used. Since that can return NUL bytes, using a text type will fail at least on PostgreSQL (just search the web for issues of that kind…).

So ArrayType and ObjectType should return a BLOB definition instead of a CLOB definition to be binary-safe.

@doctrinebot

Comment created by k-fish:

See DBAL-369 for the suggested fix

@doctrinebot

Comment created by @ocramius:

[~k-fish] DBAL-368 is this issue. What's the one you were referring to?

@doctrinebot

Comment created by @ocramius:

Nvm, it was DBAL-369

@doctrinebot

Comment created by @ocramius:

Moved to DBAL-369

@doctrinebot

Issue was closed with resolution "Duplicate"

@doctrinebot

Comment created by @doctrinebot:

A related Github Pull-Request [GH-219] was closed:
#219

@doctrinebot doctrinebot added the Bug label Dec 6, 2015
@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment