A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
Hibernate Commnication between two database
Joined: Dec 14, 2010
Feb 11, 2011 08:15:31
I am using hibernate for my current project. I have two databases in MySql say demo1 and demo2.
I want to make communication between these 2 databases. Get data from a table in demo1 check the data in another table in demo2 and insert it demo1.
Joined: Apr 14, 2004
Feb 11, 2011 08:18:43
For that you will need to configure two SessionFactories, one for each data base.
Have you checked out
subject: Hibernate Commnication between two database
How to forward request to a servlet in other application
dobut in protected access
Class loading hierrarchy
Intergration of Struts2 and EJB3.0 using struts2-ejb3-plugin
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015