Why aren't you using the GeneratorStrategy by default? It's faster and doesn't have problems with doctrine collections