After adding spring connection with second database, I catched some errors
I updated some files to set up the connection with the MySQ database, after that the program won’t start. Full errors list: 2022-08-23 19:50:54.927 ERROR 25220 — [ restartedMain] j.LocalContainerEntityManagerFactoryBean : Failed to initialize JPA EntityManagerFactory: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.loader.MultipleBagFetchException: cannot simultaneously fetch multiple bags: [com.bn.market.entities.User.productList, com.bn.market.entities.User.roles] 2022-08-23… Read More After adding spring connection with second database, I catched some errors