File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
store the data in hibernate
Joined: Mar 23, 2011
Dec 15, 2011 03:49:01
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
Joined: Mar 24, 2008
Dec 15, 2011 10:02:06
Yes you need separate components/files as you mentioned if you use multiple databases.
SCJP 5 | SCWCD 5
How to ask questions
I agree. Here's the link:
subject: store the data in hibernate
Mutiple DBs and one Session Factory???
Hibernate with RSS Feeds.
unable to create War using Ant
Can JMS be used for persistance object storage?
does hibernate provide any encryption for tables
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015