-->
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: Exception:problem parsing configuration/hibernate.cfg.xml
PostPosted: Mon May 17, 2004 8:41 am 
Newbie

Joined: Mon May 17, 2004 8:35 am
Posts: 1
Hello!

I have the following configuration file:
<?xml version='1.0' encoding='utf-8'?>
<hibernate-configuration>

<!-- a SessionFactory instance listed as /jndi/name -->
<session-factory>

<!-- properties -->
<property name="dialect">net.sf.hibernate.dialect.MySQLDialect</property>
<property name="show_sql">true</property>
<property name="use_outer_join">true</property>
<!-- mapping files -->
<mapping resource="info/collide/model/hibernate/User.hbm.xml"/>
<mapping resource="info/collide/model/hibernate/Document.hbm.xml"/>
<mapping resource="info/collide/model/hibernate/Course.hbm.xml"/>
<mapping resource="info/collide/model/hibernate/Ugroup.hbm.xml"/>
<mapping resource="info/collide/model/hibernate/Language.hbm.xml"/>
<mapping resource="info/collide/model/hibernate/Palette.hbm.xml"/>
<mapping resource="info/collide/model/hibernate/Project.hbm.xml"/>
<mapping resource="info/collide/model/hibernate/Theme.hbm.xml"/>
<mapping resource="info/collide/model/hibernate/Activity.hbm.xml"/>
<mapping resource="info/collide/model/hibernate/TimeInterval.hbm.xml"/>
</session-factory>

</hibernate-configuration>

In hibernate 2.0 it worked ok. But in hibernate 2.1 I get Exception:problem parsing configuration/hibernate.cfg.xml

If somebody knows what it wrong, could you, please, tell me?

Thank you in advance


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.