[hibernate-issues] [Hibernate-JIRA] Commented: (METAGEN-16) Code makes use of getAnnotation() instead of getAnnotationMirrors()

Hardy Ferentschik (JIRA) noreply at atlassian.com
Mon Jan 25 12:49:30 EST 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-16?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35330#action_35330 ] 

Hardy Ferentschik commented on METAGEN-16:
------------------------------------------

This link explains the problem with the usage of getAnnotation -
http://www.retep.org/2009/02/getting-class-values-from-annotations.html

Problems occur if the annotation uses a Class<?> or Class<?>[] parameter.

> Code makes use of getAnnotation() instead of getAnnotationMirrors()
> -------------------------------------------------------------------
>
>                 Key: METAGEN-16
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-16
>             Project: Hibernate StaticMetamodel Generator
>          Issue Type: Bug
>    Affects Versions: 1.0.0-Beta-3
>            Reporter: Emmanuel Bernard
>            Assignee: Hardy Ferentschik
>


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