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: hibernate et plusieurs bases de données
PostPosted: Wed Jul 12, 2006 5:41 am 
Newbie

Joined: Wed Jul 12, 2006 5:33 am
Posts: 3
Je développe actuellement une application java avec Hibernate 2.0 et une base MySQL.

Je souhaite me connecter à une deuxième base de données MySQL.
Je n'ai trouvé nul part dans la doc si on pouvait se connecter à 2 bases de données ou au contraire si on ne pouvait pas. Peut-on aussi du coup créer 2 fichiers de configuration cfg.xml différents?

Quelqu'un aurait-il une réponse ou connaitrait l'endroit où je peux trouver une réponse à mes questions?

Merci d'avance


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 30, 2006 4:53 pm 
Beginner
Beginner

Joined: Wed Oct 25, 2006 9:05 am
Posts: 40
Location: France, Lieusaint
Il faut utiliser les transactions JTA


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.