Ajout du persistentManagerFactorySingleton (but there are bugs)