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

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Mon Jul 16 10:30:52 EDT 2007


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

Max Rydahl Andersen commented on HBX-963:
-----------------------------------------

the main reason for the comment is to identify it was generated by hibernate tools and what version since I kept getting questions from people that were not able to identify what files were generated by htools nor what version....and thus it made life easier. I'm ok by removing the date from that equation, would that work for you ?

> 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