[hibernate-issues] [Hibernate-JIRA] Commented: (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
Mon Jul 18 15:24:15 EDT 2011


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

Hardy Ferentschik commented on METAGEN-69:
------------------------------------------

Awesome, thanks for the pull request. I will review it asap.

> 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