aspose file tools*
The moose likes Object Relational Mapping and the fly likes store the data in hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "store the data in hibernate" Watch "store the data in hibernate" New topic
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: 3860

Yes you need separate components/files as you mentioned if you use multiple databases.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: store the data in hibernate