[hibernate-issues] [Hibernate-JIRA] Created: (ANN-811) improve FAQ "I have AnnotationException: No identifier specified for entity"

Julien Kronegg (JIRA) noreply at atlassian.com
Mon Mar 30 11:08:38 EDT 2009


improve FAQ "I have AnnotationException: No identifier specified for entity"
----------------------------------------------------------------------------

                 Key: ANN-811
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-811
             Project: Hibernate Annotations
          Issue Type: Improvement
          Components: documentation
    Affects Versions: 3.4.0.GA
         Environment: web site
            Reporter: Julien Kronegg
            Priority: Minor


The Hibernate Annotations FAQ "I have AnnotationException: No identifier specified for entity" item states:

    "Set @Id in one of your property or field. Placing it on a field or a method will define the access type strategy"

This sentence could be completed as such:

    "If you already put an @Id annotation, you may have a conflict with the default access mode defined in the orm.xml file."

See http://forum.hibernate.org/viewtopic.php?p=2394539

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