[hibernate-issues] [Hibernate-JIRA] Closed: (HBX-71) no generation of unused imports
Steve Ebersole (JIRA)
noreply at atlassian.com
Mon Mar 21 13:00:56 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole closed HBX-71.
-----------------------------
Closing stale resolved issues
> no generation of unused imports
> -------------------------------
>
> Key: HBX-71
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-71
> Project: Hibernate Tools
> Issue Type: Patch
> Components: hbm2java
> Affects Versions: 2.1
> Environment: hibernate-extensions-2.1.3
> Reporter: Carsten S
> Priority: Minor
> Fix For: 3.1beta1
>
> Attachments: importPatch.diff
>
>
> This patch removes the generation for some unused imports:
> - no generation of import-statements for UserTypes. They shouldn't be taken as type in business-classes, therefore no import required.
> - no generation of import-statements for Types which won't be used because a "meta attribute='property-type'" was specified.
> I'm quite sure, i haven't found them all .. but for me it work's good. Ive got no unsed imports in my generated beans any more.
> gtx
> curio
--
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