Jira issue originally created by user lstrojny:
As we use binary encoded UUIDs as primary keys, we sometimes stumbled upon the issue of having incorrect SQL queries executed with unencoded database values. Currently we observed the wrong behavior for the following scenarios:
I'm pretty sure this bug also exists for OneToMany relations, but we haven't used them yet.
Comment created by @beberlei:
Duplicate of DBAL-15
Issue was closed with resolution "Duplicate"
Imported 3 attachments from Jira into https://gist.github.com/6ef6a70fa32d52002d13