-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: How to configure 2 different databse( Oracle & MSSQL S)
PostPosted: Sat Sep 08, 2007 2:42 pm 
Beginner
Beginner

Joined: Thu Jun 30, 2005 4:14 pm
Posts: 25
Hi, Folks,

I had all data in MSSQL server, I setup hibernate.cfg.xml.
but right now my customer wants put part of data in Oracle 10g.
so I need to configure the one hibernate.cfg.xml for both Oracle and MSSql server. all data objects are still in the same application.
How to do it?

Please help.

Chwang


Top
 Profile  
 
 Post subject: Hibernate Tutorial Exactly Helps With This Problem
PostPosted: Mon Sep 10, 2007 9:08 am 
Beginner
Beginner

Joined: Tue Sep 13, 2005 4:54 pm
Posts: 34
Chang,
Please go to this website:

http://freejavalectures.googlepages.com/Java_III_Lecture_1_Hibernate_part1.pps

Look for a lecture called "Hibernate" (it's highlighted in red)

Toward the end of the lecture, there is a section describing how to connect to more than one database within a single hibernate app.[/url]


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.