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

Dan Allen (JIRA) noreply at atlassian.com
Mon Jul 16 10:55:52 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_27521 ] 

Dan Allen commented on HBX-963:
-------------------------------

As far as I can tell, it is this version:

http://anonhibernate.labs.jboss.com/branches/Branch_3_2/HibernateExt/tools/src/templates/pojo/Pojo.ftl

I don't want to use this issue as a sounding board, but if you are going to use an SVN version of hibernate-tool in Seam, you should at least include the build date in the name of the jar file. That way it can help identify issues when they arise.

> 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
>         Attachments: HBX-963-v1.txt
>
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> 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