[hibernate-issues] [Hibernate-JIRA] Commented: (METAGEN-50) Suppress Warnings
Hardy Ferentschik (JIRA)
noreply at atlassian.com
Tue Jan 25 14:56:05 EST 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-50?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39761#action_39761 ]
Hardy Ferentschik commented on METAGEN-50:
------------------------------------------
I guess we could make it a configuration option of the processor.
> Suppress Warnings
> -----------------
>
> Key: METAGEN-50
> URL: http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-50
> Project: Hibernate Metamodel Generator
> Issue Type: Improvement
> Components: processor
> Affects Versions: 1.1.1.Final
> Reporter: Stephan Bublava
> Assignee: Hardy Ferentschik
> Priority: Minor
>
> Please consider adding a @SuppressWarnings("all") annotation to the generated classes. Warnings in generated code are not helpful.
> In my case the warnings (driven by IDE settings) are caused by:
> 1) Entities marked as @Deprecated.
> 2) A custom Hibernate user type that maps a numeric SQL type into an EnumSet<T>. The generated SingularAttribute does not preserve the type of the set.
--
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