Good day to all, tell me how to make two or more connections to different databases using Hibernate? thank you very much
- oneDo you use pure hibernate, with Spring or Tomcat / GlassFish / JBoss? Depending on this, there may be different recipes. - Sergey Mitrofanov
- @SergeyMitrofanov I'm just learning and using Spring is just starting, could you share an example? Raised server on Tomcat - Ethernets
- You can find a good example on annotations here baeldung.com/spring-data-jpa-multiple-databases - Sergey Mitrofanov
|