[DBAL-878] Wrong mapping type

the type should be the mapping type, and not the name of the type. This
does the difference for simple_array, as the result should be
simple_array and not simplearray
Merge pull request #1018 from chandon/master

DBAL-878 Wrong mapping type