I have to use one table from remote database along with existing database in our own project. Any help will be appreciated. My project is using hibernate and struts.
I have to save some data in a table which is not in my projects'database. It is a central table in my company for saving requests for all clients for all projects. I have to save request in that table through my project. I am having problem to access it.
You need to have two different hibernate configuration file one for each data source.
When you get the session factory instance use the appropriate hibernate configuration file to establish a database connection.