PIM-2256 : use doctrine common for lifecycle events