A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
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.
I agree. Here's the link:
subject: Hibernate Commnication between two database
dobut in protected access
Class loading hierrarchy
Intergration of Struts2 and EJB3.0 using struts2-ejb3-plugin
How to forward request to a servlet in other application
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014