[hibernate-issues] [Hibernate-JIRA] Created: (HBX-784) Hibernate Tools 3.2.0b8 seems to disregard some reveng directives

Michael T. (JIRA) noreply at atlassian.com
Fri Oct 20 15:04:04 EDT 2006


Hibernate Tools 3.2.0b8 seems to disregard some reveng directives
-----------------------------------------------------------------

         Key: HBX-784
         URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-784
     Project: Hibernate Tools
        Type: Bug

  Components: reverse-engineer  
    Versions: 3.2beta8    
 Environment: Hibernate version: 3.2.0GA
Hibernate tools version: 3.2.0.b8
Java Version: 1.5.0.7
Eclipse Version: 3.2.1
Postgres: 8.0 w/ JDBC driver 8.1b407

(Recreated with MySQL 5.0 and MySQL/J 5.0)
    Reporter: Michael T.
 Attachments: revengsimplecase.zip

I have a legacy database that unfortunately uses "class" as a table name and there are several tables that refer to this table. I've created a reveng.xml through the tools interface that I believe should rename the "class" object to TFARClass and members of referring classes to tfarClass. When I build the classes, the "TFARClass" object is created but all the referencing classes still have members called "class", which obviously doesn't work.

I've attached a simple workspace that recreates the issue.  The attached SQL is for MySQL 5.0 and creates two tables (class and classrange) that have two columns each.  There is no functioning code in the workspace, just the hibernate configuration, console and reveng files as well as the class files that were created.

-- 
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