-->
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 in Session bean...
PostPosted: Thu Mar 02, 2006 3:30 am 
Newbie

Joined: Sat Feb 11, 2006 1:47 am
Posts: 9
Location: India
In session bean i want to use Hibernate.......

I have registrerred the SessionFactory with JNDI.
But all configuration setting are done in Web app.
i.e. hibernate.cfg.xml is in web app
Also Thread Local Util Class is there in Web App...
In this situation wat i need to do to use hibernate in session bean..???

Can anybody knows the Link of examples ????

_________________
crack the jack


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 06, 2006 4:22 am 
Regular
Regular

Joined: Tue Dec 14, 2004 5:21 am
Posts: 104
Location: india
after creating sessionfactory and bound it to JNDI , you can look up it for creating sessions no matter how u build the session factory . still u can make use of the thread local sessions , with slight change so that the util class gets session factory from JNDI

_________________
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.