-->
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.  [ 3 posts ] 
Author Message
 Post subject: hibernate configuration files
PostPosted: Wed Sep 20, 2006 6:39 pm 
Beginner
Beginner

Joined: Mon Sep 18, 2006 5:33 am
Posts: 25
Where abouts do i put the configuration code (xml) in my spring app for my hibernate code.

ie. where do i refer to my *.hbm.xml files and database connection etc.

I put both in my app-servlet.xml page, is that right? or should i put it in hibernate.cfg.xml and then refer to this file in my ant script?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 20, 2006 10:01 pm 
Beginner
Beginner

Joined: Mon Sep 18, 2006 5:33 am
Posts: 25
Also does anyone know of a simple tutorial or sample code which works through using hibernate in spring.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 21, 2006 11:35 am 
Senior
Senior

Joined: Sat Nov 27, 2004 4:13 am
Posts: 137
just look at samples come with spring, also appfuse have a complete example.

_________________
don't forget to credit!

Amir Pashazadeh
Payeshgaran MT
پايشگران مديريت طرح
http://www.payeshgaran.co
http://www.payeshgaran.org
http://www.payeshgaran.net


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