[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-1031) Hibernate Tools Reveng does not work with generated-class
Jim (JIRA)
noreply at atlassian.com
Mon Mar 31 07:42:33 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_29908 ]
Jim commented on HBX-1031:
--------------------------
It seems that you need to specify catalog for mysql5, something like this would work:
<table catalog="mydb" name="mytable" class="com.mydomain.MyTable"/>
> Hibernate Tools Reveng does not work with generated-class
> ---------------------------------------------------------
>
> Key: HBX-1031
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-1031
> Project: Hibernate Tools
> Issue Type: Bug
> Components: hbm2java
> Affects Versions: 3.2.cr1
> Environment: Hibernate 3.2.5
> Reporter: Leonardo Pinho
> Priority: Critical
>
> Hi,
> I've tried to use the meta attribute "generated-class" inside the hibernate.reveng.xml in order to change the name of generated class but it did not work... I've tried several configurations:
> <hibernate-reverse-engineering>
> <table-filter match-name="email_messages">
> <meta attribute="generated-class">EmailMessage</meta>
> </table-filter>
> </hibernate-reverse-engineering>
> More information at http://forum.hibernate.org/viewtopic.php?t=980310
> Thanks!
--
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