[hibernate-issues] [Hibernate-JIRA] Updated: (ANN-591) ConcurrentModificationException when collection of embeddable contains a collection
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Tue Mar 4 13:17:33 EST 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Bernard updated ANN-591:
---------------------------------
Priority: Minor (was: Major)
Fix Version/s: (was: 3.3.1)
Summary: ConcurrentModificationException when collection of embeddable contains a collection (was: SchemaExport throws ConcurrentModificationException for entity containing list of lists)
Downgrading the bug, waiting for the underlying core issue
> ConcurrentModificationException when collection of embeddable contains a collection
> -----------------------------------------------------------------------------------
>
> Key: ANN-591
> URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-591
> Project: Hibernate Annotations
> Issue Type: Bug
> Components: binder
> Affects Versions: 3.2.1
> Environment: Hibernate 3.2.1.GA, Oracle 10
> Reporter: Ivan O'Connor
> Priority: Minor
> Attachments: annotdiff.txt, core-cme-secondpass.patch, corediff.txt, hbm2ddl.zip
>
>
> I have a class, let's call it A, that contains a List of class B. Each instance of B has a List of class C. I'm trying to generate the DDL for this, so I've annotated the code and run it through SchemaExport, which throws a ConcurrentModificationException. My environment: Java 1.5, Oracle 10, Hibernate 3.2.1ga.
> The problem seems to be caused by having an entity (A) containing an embedded collection (of B), each element of which contains a collection (of C). SchemaExport generates correct DDL when the annotations are modified to make B and/or C an entity, but not when they are both components. I realise this is considered something of an exotic case, but I'd like to know why the DDL doesn't generate.
> See bugReport.txt in attached zip for further details.
--
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