-->
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: HTools 3.0.0.a creates defective hibernate.cfg.xml
PostPosted: Tue Jun 07, 2005 3:56 pm 
Newbie

Joined: Tue Jun 07, 2005 3:42 pm
Posts: 5
Hibernate Tools version: 3.0.0.alpha
Eclipse version: 3.1RC5
Hibernate version: 3.0.5

If you specify a name for your session-factory when creating a Hibernate Configuration, the resulting file will not have a space in between "session-factory" and "name" in the xml. EG:

<session-factoryname="spacey">

This will cause parsing errors if you try to generate artifacts from a console configuration, etc. Adding a space before the "name" attribute -- or not specifying a session-factory name -- solve this problem.

Hope this helps and thanks for the tools.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 07, 2005 5:42 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
already reported and fixed - old bug. but thank you ,)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Thanks for the reply!
PostPosted: Tue Jun 07, 2005 6:03 pm 
Newbie

Joined: Tue Jun 07, 2005 3:42 pm
Posts: 5
<EOM>


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.