-->
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.  [ 1 post ] 
Author Message
 Post subject: Hibernate.cfg.xml for container.
PostPosted: Fri Aug 12, 2005 8:29 am 
Newbie

Joined: Mon Aug 08, 2005 5:57 am
Posts: 6
Hi,

I currently have a standalone application using hibernate 3 running with no problems.

I am trying to get the same application up and running but from inside a container. I have read that you can get the container to pass you a Session to start working with similar to the HibernateUtils class using local threads.

Can anyone post their hibernate.cfg.xml file that I can use as a template for connecting to the container using JNDI. My app server is OC4J if that is any help. I have got the mappings to my objects delt with and they work find in the stand alone app.

Cheers.


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

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.