code: public static EntityManagerFactory createEntityManagerFactoryProxy(
  			final EntityManagerFactory entityManagerFactory) {
  		if (DISABLED || !JPA_COUNTER.isDisplayed()) {
  			return entityManagerFactory;
  		}
  		// on veut monitorer seulement les EntityManager retournés par les deux méthodes createEntityManager
  		return JdbcWrapper.createProxy(entityManagerFactory,
  				new EntityManagerFactoryHandler(entityManagerFactory));
  	}
docs: Create proxy of {@link EntityManagerFactory}.
  @param entityManagerFactory EntityManagerFactory
  @return EntityManagerFactory