[hibernate-issues] [Hibernate-JIRA] Created: (ANN-763) Hibernate fails on startup when using IdClass and one of the id-properties is an embedded object.
Anupam M (JIRA)
2008-08-11
Replies:
Created: (ANN-763) Hibernate fails on startup... -- Anupam M (JIRA) 2008-08-11
Hibernate fails on startup when using IdClass and one of the id-properties is an embedded object. -------------------------------------------------------------------------------------------------
Key: ANN-763 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-763 Project: Hibernate Annotations Issue Type: Bug Affects Versions: 3.4.0.CR2, 3.4.0.CR1, 3.3.1.GA Environment: Hibernate 3.2.6 with HSQLDB, tested with Hibernate-Annotations 3.3.1.GA and 3.4.0.CR2 Reporter: Arne Limburg
To verify this I modified the entities for the CompositeIdTest: I changed the Product class to be embeddable (by annotating it with @Embeddable instead of @Entity and annotating the property with @Basic instead of @Id) and the Reference in the OrderLinePK class from @ManyToOne @JoinColumn to @Embedded.
-- 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
_______________________________________________ hibernate-issues mailing list hibernate-issues@(protected) https://lists.jboss.org/mailman/listinfo/hibernate-issues