[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-1103) org.hibernate.tool.hbm2x.ExporterExcept when reverse engineering a DB
Olivier Cailloux (JIRA)
noreply at atlassian.com
Wed Jan 28 16:20:38 EST 2009
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-1103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32212#action_32212 ]
Olivier Cailloux commented on HBX-1103:
---------------------------------------
Thanks once again for the patch and the fast action, and sorry to insist, but how should I update to a version including the patch? (I hope there is a simpler way than recompiling hibernate tools...)
I am using JBoss Tools Development update site in eclipse, and updated to today's version, but that does not help.
The patched file is java/org/hibernate/cfg/reveng/DefaultReverseEngineeringStrategy.java. Indeed there is such a file (in .class form) in hibernate-tools.jar, both in the org.hibernate.eclipse_3.2.4.CR2-R200901280154 and in the org.hibernate.eclipse_3.2.4.CR1-R200812191611 version of the plugin I used before. But both class files are identical, so obviously the today version does not include the patch. Is that intended?
Thank you for any pointer and sorry if it is stupid and simple... I really looked hard and found no doc on that subject.
Olivier
> org.hibernate.tool.hbm2x.ExporterExcept when reverse engineering a DB
> ---------------------------------------------------------------------
>
> Key: HBX-1103
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-1103
> Project: Hibernate Tools
> Issue Type: Bug
> Components: reverse-engineer
> Affects Versions: 3.2.4 Beta1
> Environment: MS SQL database 2005 :
> Microsoft SQL Server Management Studio 9.00.3042.00
> Microsoft Analysis Services Client Tools 2005.090.3042.00
> Microsoft Data Access Components (MDAC) 2000.085.1132.00 (xpsp.080413-0852)
> Microsoft MSXML 2.6 3.0 4.0 6.0
> Microsoft Internet Explorer 7.0.5730.11
> Microsoft .NET Framework 2.0.50727.1433
> Operating System 5.1.2600
> eclipse Platform 3.4.1, build M20080911-1700
> JBoss Hibernate Tools, 3.2.4.CR1-R200812191611
> Reporter: Olivier Cailloux
> Assignee: Anthony Patricio
> Priority: Critical
> Attachments: create_DB.sql, HBX-1103.patch, hibernate.reveng.xml, logback.xml, persistence.xml, SQLdiag.gif, stacktrace.log
>
>
> Hi,
> I am 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 .
> 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. What is missing to enable detailed log output?
> Please tell me if you need any other information. I am beginner in Hibernate. Thank you for any help or pointer.
> Olivier
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list