rdbms fix for doctrine