Oliver Drotbohm <email@example.com> 74e1021b22edc8ad1e1a9640613b41c5bb5c4260
DATACMNS-1580 - Fix EntityManagerFactory lookup in BeanDefinitionUtils.
We now use a set to collect all the EntityManagerBeanDefinitions returned from the application context. Spring Framework recently changed the bean names by type lookup behavior to also consider the return type of a factory bean so that we now see Spring defined EntityManagerFactory beans twice as we look them up via the EMF interface as well as via AbstractEntityManagerFactoryBean. Using a set as the target unifies them into one logical bean definition again.
- src/main/java/org/springframework/data/jpa/util/BeanDefinitionUtils.java (version 74e1021b22edc8ad1e1a9640613b41c5bb5c4260)