| Author |
store the data in hibernate
|
ashok sangi
Greenhorn
Joined: Mar 23, 2011
Posts: 24
|
|
hi all
how to store the same objects in to the two different data bases in hibernate please any body can help me
for this i have write
1.two configuration files
2.two mapping files
3.create the two sessions
so my intention is other than this is there any solution for the above problem please any help me
|
 |
Vijitha Kumara
Bartender
Joined: Mar 24, 2008
Posts: 3670
|
|
|
Yes you need separate components/files as you mentioned if you use multiple databases.
|
SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
|
 |
 |
|
|
subject: store the data in hibernate
|
|
|