-->
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: Artifact Generation fails due to parsing configuration
PostPosted: Fri May 13, 2005 5:33 am 
Newbie

Joined: Fri May 13, 2005 5:20 am
Posts: 6
Hello,

I'm a new hibernate user. I need to reverse enginner our database, and I'm trying to use the 3.0 Tools.
I'm using Eclipse 3.1M6, Hibernate3.0 alpha 1 tools and JBoss IDE 1.5M1-Hibernate-Tools with alpha2 and mySQL database.

I'm following the doc, and I create cfg.xml and console configuration.
When I'm trying to run the Arficats I get the following message:

org.hibernate.HibernateExeption:problem parsing configuration ....\hibernate.cfg.xml


My hibernate.cfg.xml looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="hibernate.connection.username">root</property>
<property name="hibernate.connection.password">xxxxxx</property>
<property name="hibernate.dialect">org.hibernate.dialect.MySQLInnoDBDialect</property>
<property name="hibernate.connection.url">jdbc:mysql://localhost:3306/hibernatetest</property>
<property name="hibernate.connection.driver_class">org.gjt.mm.mysql.Driver</property>
</session-factory>
</hibernate-configuration>


I hope someone can give me a help. I don't know what I'm doing wrong.

Thanks,

Gaby


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.