[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4300) Composite Key which contains a discriminator causes "Repeated Column" errors

Guenther Demetz (JIRA) noreply at atlassian.com
Thu May 10 08:47:10 EDT 2012


    [ https://hibernate.onjira.com/browse/HHH-4300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46593#comment-46593 ] 

Guenther Demetz commented on HHH-4300:
--------------------------------------

Hi Jason,

since Hibernate3.6.0 hibernate also provides annotation support for <discriminator>'s force and insert, see HHH-5190.
Can you please verify, if HHH-5190 solves this issue?

> Composite Key which contains a discriminator causes "Repeated Column" errors
> ----------------------------------------------------------------------------
>
>                 Key: HHH-4300
>                 URL: https://hibernate.onjira.com/browse/HHH-4300
>             Project: Hibernate ORM
>          Issue Type: Bug
>          Components: annotations
>         Environment: Hibernate version: 3.3.1 GA
> Application Server: Glassfish V3 Prelude
> Database: Oracle 9i
>            Reporter: Pasi Orovuo
>         Attachments: ItemInfo.zip
>
>
> See this forum post for background:
> http://forum.hibernate.org/viewtopic.php?t=995693
> Annotations does not seem to have a possibility to define "insert = false" on a discriminator column, as mentioned in the following bug:
> http://opensource.atlassian.com/projects/hibernate/browse/HB-1149
> Sources of classes that demonstrate the problem in above forum case attached.

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