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

Hardy Ferentschik (JIRA) noreply at atlassian.com
Wed Jan 25 06:52:09 EST 2012


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

Hardy Ferentschik updated METAGEN-69:
-------------------------------------

    Fix Version/s: 1.2.next

> 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
>             Fix For: 1.2.next
>
>
> 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