Fixed mapping configurations.

Before i thought to skip all Doctrine configuration steps, if i had enabled auto_mapping.

**Forgive my English**.