[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4240) SecondaryTables not recognized when using JOINED inheritance
Greg Burcher (JIRA)
noreply at atlassian.com
Mon Jun 21 16:19:22 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=37523#action_37523 ]
Greg Burcher commented on HHH-4240:
-----------------------------------
Is there still no fix to enable using @SecondaryTable together with InheritanceType.JOINED with subclasses? The work-around of defining another first-class entity with @OneToOne association for the joined table is not desirable for me. Thanks.
> SecondaryTables not recognized when using JOINED inheritance
> ------------------------------------------------------------
>
> Key: HHH-4240
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4240
> Project: Hibernate Core
> Issue Type: Bug
> Components: annotations
> Environment: Hibernate 3.2.0CR1; db is irrelevant, as the buildSessionFactory() fails.
> Reporter: Sebastian Kirsch
> Attachments: TestSecondaries.java, TestSecondaries.java, TestSecondaries.java
>
>
> The Configuration doesn't recognize secondary tables of a super class.
> Calling AnnotationConfiguration.buildSessionFactory fails, claiming that the secondary table used in the super class cannot be found in the subclass.
> Adding the secondary table to the subclass doesn't help either.
> See attached JUnit test case.
--
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