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.  [ 4 posts ] 
Author Message
 Post subject: Integrating 2 Session Factories with JBoss
PostPosted: Thu May 06, 2004 10:38 am 
Newbie

Joined: Wed May 05, 2004 6:59 am
Posts: 5
Hello,

Is it possible to integrate 2 session factories (via SAR files and jboss-service.xml configurations) for Hibernate with JBoss. I have tried this, and from a JNDI view it seems to have integrated properly (both being SessionFactoryStubs) BUT I notice that the username/password of one seems to be being used for the connection of the other - one being Oracle 9i, and other being SQLServer, and the -ds files have the correct details in....

Any ideas ?


Cheers


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 06, 2004 1:34 pm 
Newbie

Joined: Thu Mar 04, 2004 11:20 am
Posts: 6
Location: Poznan, Poland
Hello

Maybe I do not understand the problem, but when using DataSource with Hibernate who is using username/password ? Hibernate or JBoss ?

Are you defining your Hibernate session factories basing on DataSource ?

sincerely Olek


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 07, 2004 10:17 am 
Senior
Senior

Joined: Tue Nov 25, 2003 9:35 am
Posts: 194
Location: San Francisco
Post your datasource and Hibernate SAR descriptors.


Sherman


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 10, 2004 3:54 am 
Newbie

Joined: Wed May 05, 2004 6:59 am
Posts: 5
Thanks for the responses...

I think I've got it working now - I think one of the data sources wasn't configuring properly....


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.