if (this.persistenceUnitManager == null) {
this.persistenceUnitManager = analyzedPersistenceUnitManager;
} else {
// merge old and new.
if (analyzedPersistenceUnitManager != null) {
analyzedPersistenceUnitManager.merge(this.persistenceUnitManager);
// update persistence manager with the merged one.
this.persistenceUnitManager = analyzedPersistenceUnitManager;
}
}