Hi, I have a entity User that have an @ElementCollection of Address (@Embeddable) with a @ElementCollection of AddressType.
I attach the test case.
This is the stack trace:
Caused by: java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:819) at java.util.ArrayList$Itr.remove(ArrayList.java:805) at org.hibernate.cfg.Configuration.originalSecondPassCompile(Configuration.java:1633) at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1390) at org.hibernate.cfg.Configuration.generateDropSchemaScript(Configuration.java:941) at org.hibernate.tool.hbm2ddl.SchemaExport.<init>(SchemaExport.java:213)
|