Jira issue originally created by user bguery:
In basic mapping section
When you have implemented the type you still need to let Doctrine know about it. This can be achieved through the Doctrine\DBAL\Configuration#setCustomTypes(array $types) method. Doctrine\ORM\Configuration is a subclass of Doctrine\DBAL\Configuration, so the methods are available on your ORM Configuration instance as well.
The method seems to have been removed on this commit 354ede
Comment created by @beberlei:
Ah yes, it works like the code snippet right next to this paragraph:
// in bootstrapping code
// Register my type
Issue was closed with resolution "Fixed"