Issue Type: Bug Bug
Affects Versions: 3.6.10
Assignee: Unassigned
Components: core
Created: 03/Nov/12 5:40 AM
Description:

Consider what the documentation says:
http://docs.jboss.org/hibernate/core/3.6/reference/en-US/html_single/#tutorial-associations-valuecollections

When you define a collection of values (like eMailAddresses), the corresponding table (PERSON_EMAIL_ADDR in the example) should have a primary key made up of both the key column and the element column. However, if you define such a collection in your hbm.xml Hibernate creates a table without any primary key.

See also:
https://forum.hibernate.org/viewtopic.php?f=1&t=958891
https://forum.hibernate.org/viewtopic.php?f=1&t=973302

Project: Hibernate ORM
Priority: Major Major
Reporter: Mauro Molinari
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira