• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

store the data in hibernate

 
ashok sangi
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3914
9
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes you need separate components/files as you mentioned if you use multiple databases.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic