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
|