[hibernate-issues] [Hibernate-JIRA] Created: (HBX-963) make "generated by" statement optional (or remove it)

Dan Allen (JIRA) noreply at atlassian.com
Sun Jul 15 01:50:52 EDT 2007


make "generated by" statement optional (or remove it)
-----------------------------------------------------

                 Key: HBX-963
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-963
             Project: Hibernate Tools
          Issue Type: Improvement
          Components: hbm2java
    Affects Versions: 3.2beta9, 3.2beta10
            Reporter: Dan Allen
            Priority: Minor


If you are using a version control system to manage the Java classes generated by the hbm2java task, then every single time you run the task, it will appear as if every single file has changed, even when there are no changes to the Java code. The reason this happens is because the Pojo.ftl template includes a "generated by" statement that inserts the current date and time. JAXB does this as well and it drives me insane!

I would prefer we just take out the date and time. There just isn't a good reason to have it and the headaches that it causes are not worth it.  I have included a patch to remove it.

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