This rule flags Spring configuration files that configure more than one entity manager factory.
Spring will create an EntityManager from any EntityManagerFactory defined in the Spring configuration file. If more than one exists, it will fail. Use only one of the following entity manager factory beans to create an entity manager:
In the following example, both the beans emf1 and emf2 would be flagged.
The recommended action is to configure only one of the entity managers.
For additional information, see: