[hibernate-issues] [Hibernate-JIRA] Created: (METAGEN-69) When the root class of hierarchy does not declare @Id default access type cannot be resolved

Igor Vaynberg (JIRA) noreply at atlassian.com
Mon Jul 18 14:53:14 EDT 2011


When the root class of hierarchy does not declare @Id default access type cannot be resolved
--------------------------------------------------------------------------------------------

                 Key: METAGEN-69
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/METAGEN-69
             Project: Hibernate Metamodel Generator
          Issue Type: Bug
          Components: processor
    Affects Versions: 1.1.1.Final
            Reporter: Igor Vaynberg
            Assignee: Hardy Ferentschik


if we have
{code}
@MappedSuperClass Foo {}
@Entity @Inheritance Bar extends Foo { @Id id }
@Entity Baz extends Bar {}
{code}

Baz_ will not have any of Baz's bindings because while looking for access type the processor does not stop at Bar and continues to Foo which has default accesstype of null.

Pull request with a test case incoming...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list