[hibernate-issues] [Hibernate-JIRA] Closed: (HBX-467) Confusing variable names for FK objects, part2
Max Rydahl Andersen (JIRA)
noreply at atlassian.com
Fri Sep 15 08:54:25 EDT 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-467?page=all ]
Max Rydahl Andersen closed HBX-467:
-----------------------------------
Resolution: Won't Fix
patches welcome, but closing until that happens since every user has a diffrent wish for the generated names.
> Confusing variable names for FK objects, part2
> ----------------------------------------------
>
> Key: HBX-467
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-467
> Project: Hibernate Tools
> Type: Bug
> Components: hbm2java
> Environment: hsql, current hibernate, hibernate-tools
> Reporter: George Lindholm
> Priority: Minor
> Attachments: build.sh, build.xml, fk.pa, hibernate.cfg.xml, hibernate.reveng.xml, hsqlschema.sql
>
>
> I'm able to reproduce this issue using hsqldb and the current source from the
> repository using ant so I certain that there is no interference from other jar files.
> After having run hbm2java I get:
> // default package
> // Generated Nov 4, 2005 4:10:19 PM by Hibernate Tools 3.1.0 beta1Fri Nov 04 16:10:19 PST 2005 GNL
> import java.util.Set;
> /**
> * NcContact generated by hbm2java
> */
> public class NcContact implements java.io.Serializable {
> // Fields
> private long contactId;
> private NcOrgUnit ncOrgUnit;
> private NcContact ncContact;
> private String classificationCde;
> private String role;
> private Set ncClassifTypeTblsForGroupId;
> private Set ncContacts;
> private Set ncClassifTypeTblsForLastUpdtBy;
> the variable ncContact should be lastUpdtBy.
--
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