-->
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: Error when starting the reverse engineering process
PostPosted: Sat Apr 09, 2005 8:41 pm 
Regular
Regular

Joined: Thu Sep 23, 2004 11:53 am
Posts: 83
Read the rules before posting!
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:which ever comes with the Hibernaete Tool plugin hibernate-tools-3.0alpha1

Mapping documents:hibernate.cfg.xml

<?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-factoryname="HibernateUtil">
<property name="hibernate.connection.username">sa</property>
<property name="hibernate.connection.password">sa</property>
<property name="hibernate.dialect">org.hibernate.dialect.SQLServerDialect</property>
<property name="hibernate.connection.url">jdbc:jtds:sqlserver://localhost/ppdm</property>
<property name="hibernate.connection.driver_class">net.sourceforge.jtds.jdbc.Driver</property>
</session-factory>
</hibernate-configuration>


Any help is appreciated, :)

Code between sessionFactory.openSession() and session.close():

Full stack trace of any exception that occurs:

Name and version of the database you are using:
SQL Server 2000

The generated SQL (show_sql=true):

Debug level Hibernate log excerpt:

ERROR in popup screen

Error under artifact generation

Reason:
org.hibernate.HibernateException:problem parsing configuration
C:\Documents and Settings\Jason\workspace\......\hibernate.cfg.xml


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 09, 2005 9:04 pm 
Regular
Regular

Joined: Thu Sep 23, 2004 11:53 am
Posts: 83
Tried to open the XML file in a browser and found the Hibernate.cfg.xml was malformed....

<session-factoryname="HibernateUtil">
<property name="hibern...

probably alreayd reported, but if not this is a bug :)

later


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 10, 2005 3:39 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
either not fill in the name or use the alpha 2 from jboss ide download.

_________________
Max
Don't forget to rate


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.