[
https://hibernate.onjira.com/browse/HHH-4300?page=com.atlassian.jira.plug...
]
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