removeEntityManagerFactory(String, EntityManagerFactory) already synchronizes on the underlying Set<EntityManagerFactory> instance. What is wrong in removeEntityManagerFactory()?
https://github.com/scottmarlow/hibernate-orm/tree/HHH-8406 contains the change for getNamedEntityManagerFactory.
Thanks for looking at this and finding these problems as well!
|