-->
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: Rev eng a DB, got an org.hibernate.tool.hbm2x.ExporterExcept
PostPosted: Mon Jan 12, 2009 6:47 pm 
Newbie

Joined: Mon Jan 12, 2009 4:38 pm
Posts: 19
Hi,

I'm trying to use hibernate tools in eclipse to reverse engineer a complex db, and I sometimes get "org.hibernate.tool.hbm2x.ExporterException: Error while processing Entity: persist.eXacto.Left with template pojo/Pojo.ftl" type exceptions.

After much tries, I have been able to track the error down to the following schema: https://smg8.ulb.ac.be/hib/SQLdiag.gif . The sql to create the problematic schema is the following: https://smg8.ulb.ac.be/hib/create_DB.sql .

I use a MS SQL database.

The stack trace reported by Hibernate tools through the eclipse error log is here: https://smg8.ulb.ac.be/hib/stacktrace.log . The configuration files are here: https://smg8.ulb.ac.be/hib/logback.xml ; https://smg8.ulb.ac.be/hib/hibernate.reveng.xml ; https://smg8.ulb.ac.be/hib/persistence.xml .

I have not been able to log anything else from Hibernate other than the error stacktrace here above, altough I tried to configure logback correctly and enabled sql debugging in persistence.xml. I suppose I forgot something?

Please tell me if you need any other information. I am beginner in Hibernate. Thank you for any help or pointer.

_________________
Olivier


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 15, 2009 4:37 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
could you please report this in jira with the details collected in one place ?

Thanks - and don't forgot to mention which version of hibernate tools you are using.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: See jira
PostPosted: Thu Jan 15, 2009 11:51 am 
Newbie

Joined: Mon Jan 12, 2009 4:38 pm
Posts: 19
Done, see http://opensource.atlassian.com/projects/hibernate/browse/HBX-1103. Thank you.
Olivier

_________________
Olivier


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.