I am using play 1.2.5 framework in my application. Play use JPA API to use hibernate. Issue I am facing here, that I want to use multiple database connections in my application, so that a part of my application could use different DB, but play 1.2.5 doesn't support multiple DB connection. Automatically it will give connection details from application.conf file to entitymanager by:
Is there any alternative and easy way to do it?
I've come across a solution mention below:
I am able to establish a connection here but how to pass this connection to JPA and entity manager is not yet clear...