-->
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: why the hibernate tools can't update hibernate.cfg.xml auto!
PostPosted: Fri Aug 26, 2005 8:09 pm 
Regular
Regular

Joined: Tue Dec 30, 2003 2:35 am
Posts: 85
i produce some java code and hbm files auto(use the hibernate.cfg.xml as connection),but after i produce the java code and hbm files,i had to add *.hbm file's path to hibernate.cfg.xml one by one,this action should be done by the hibernate tools aoto!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 27, 2005 1:19 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
and you did not consider clicking the "generate hbm.cfg.xml" button ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: i think the hibernate.cfg.xml should not be create twice!
PostPosted: Sat Aug 27, 2005 10:36 pm 
Regular
Regular

Joined: Tue Dec 30, 2003 2:35 am
Posts: 85
first time,i create the hibernate.cfg.xml,i map a new entity to hibernate.cfg.xml(add <mapping>...</mapping> node),the hibernate.cfg.xml should be update,not create the hibernate.cfg.xml again!!!!(here is just my logic).of course create the hibernate.cfg.xml can solve the question!


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.