-->
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: Datasource discovery from JNDI SessionFactory
PostPosted: Mon Jan 09, 2006 5:10 am 
Beginner
Beginner

Joined: Tue Jun 29, 2004 12:35 pm
Posts: 21
Hibernate version: 3.1

Hi, is it possible to resolve Datasource which current SessionFactory is using (I didn't find direct solution from javadocs)?

I have need for this kind of fuctionality when we are using multiple JNDI - based Sessionfactories for different datasources and trying to implement dynamic adding of sessionfactories to system (using jboss sar sessionfactory deployment).

Thanks,
PO


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 11, 2006 4:31 am 
Regular
Regular

Joined: Tue Dec 14, 2004 5:21 am
Posts: 104
Location: india
probably you can specify different names for different sessionfactories which sounds more simple to me .

_________________
sHeRiN
thanks for your ratings ...... :)


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.