[hibernate-issues] [Hibernate-JIRA] Updated: (METAGEN-60) Embedded class implementing List interface leads to missing identifier

Hardy Ferentschik (JIRA) noreply at atlassian.com
Thu Jul 7 10:38:54 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hardy Ferentschik updated METAGEN-60:
-------------------------------------

    Description: 
I have an embedded class which implements the _java.util.List_ interface when running the annotation processor for the JPA meta model it fails with the message 
{noformat}
Note: Determining access type for ListOfString2
    [javac] ListOfString2_.java:9: <identifier> expected
    [javac] public static volatile SingularAttribute<ListOfString2, String> ;
{noformat}
when looking into the generated class the message makes sense because the identifier is indeed missing, question is how is that possible. See attachment for embedded object and generated output of the meta model class.

  was:
I have an Embedded class which implements the java.util.List interface when running the annotation processor for the JPA meta model it fails with the message 
Note: Determining access type for ListOfString2
    [javac] ListOfString2_.java:9: <identifier> expected
    [javac] public static volatile SingularAttribute<ListOfString2, String> ;
when looking into the generated class the message makes sense because the identifier is indeed missing, question is how is that possible.
See attachment for Embedded object and generated output of the meta model class.


> Embedded class implementing List interface leads to missing identifier
> ----------------------------------------------------------------------
>
>                 Key: METAGEN-60
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-60
>             Project: Hibernate Metamodel Generator
>          Issue Type: Bug
>          Components: processor
>    Affects Versions: 1.1.1.Final
>         Environment: Hibernate 3.6.1 final
>            Reporter: Jan Stolze
>            Assignee: Hardy Ferentschik
>         Attachments: ListOfString2.java, ListOfString2_.java
>
>
> I have an embedded class which implements the _java.util.List_ interface when running the annotation processor for the JPA meta model it fails with the message 
> {noformat}
> Note: Determining access type for ListOfString2
>     [javac] ListOfString2_.java:9: <identifier> expected
>     [javac] public static volatile SingularAttribute<ListOfString2, String> ;
> {noformat}
> when looking into the generated class the message makes sense because the identifier is indeed missing, question is how is that possible. See attachment for embedded object and generated output of the meta model class.

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